/* ALAT for Building Materials and Ceramic Tiles - FZCO */
:root {
  --navy: #12263a;
  --navy-2: #1b3a57;
  --accent: #c8693b;      /* terracotta - ceramic */
  --accent-2: #e2a14a;    /* warm amber */
  --sand: #f6f1e9;
  --stone: #e8e1d6;
  --ink: #1c2530;
  --muted: #5d6877;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(18, 38, 58, .35);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
html[lang="ar"] { --font: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.inner { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ---------- Header ---------- */
#header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 18px 0; }
#header .inner { display: flex; align-items: center; justify-content: space-between; }
#header.solid { background: rgba(18, 38, 58, .96); backdrop-filter: blur(8px); box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand .mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; font-weight: 800; letter-spacing: .5px; overflow: hidden; }
.brand .mark img { width: 100%; height: 100%; object-fit: cover; }
.brand .name { font-weight: 800; letter-spacing: 3px; font-size: 1.15rem; line-height: 1.1; }
.brand .name small { display: block; font-weight: 500; letter-spacing: .5px; font-size: .68rem; opacity: .75; }
.menu-btn { color: var(--white); border: 1px solid rgba(255,255,255,.4); background: transparent; padding: 9px 20px; border-radius: 999px; font: inherit; font-size: .9rem; cursor: pointer; transition: .2s; }
.menu-btn:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Menu overlay ---------- */
#menu { position: fixed; inset: 0; z-index: 100; background: var(--navy); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
#menu.open { opacity: 1; visibility: visible; }
#menu::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(200,105,59,.35), transparent 55%), radial-gradient(circle at 10% 90%, rgba(226,161,74,.18), transparent 50%); }
#menu ul { position: relative; text-align: center; }
#menu li { margin: 6px 0; transform: translateY(14px); opacity: 0; transition: .4s; }
#menu.open li { transform: none; opacity: 1; }
#menu.open li:nth-child(2) { transition-delay: .05s } #menu.open li:nth-child(3) { transition-delay: .1s }
#menu.open li:nth-child(4) { transition-delay: .15s } #menu.open li:nth-child(5) { transition-delay: .2s }
#menu.open li:nth-child(6) { transition-delay: .25s } #menu.open li:nth-child(7) { transition-delay: .3s }
#menu a { display: inline-block; color: var(--white); font-size: clamp(1.4rem, 4vw, 2.1rem); font-weight: 700; letter-spacing: 1px; padding: 6px 14px; transition: color .2s; }
#menu a:hover { color: var(--accent-2); }
#menu a.lang { margin-top: 14px; font-size: 1.1rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 6px 26px; }
#menu .close { position: absolute; top: 22px; inset-inline-end: 26px; color: var(--white); background: none; border: 0; font-size: 2.4rem; cursor: pointer; line-height: 1; z-index: 2; }

/* ---------- Banner ---------- */
#banner { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--white); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #274e73 100%); overflow: hidden; padding: 120px 0 90px; }
#banner .bg { position: absolute; inset: 0; }
#banner .bg img { width: 100%; height: 100%; object-fit: cover; }
#banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(18,38,58,.93) 25%, rgba(18,38,58,.55) 100%); }
html[dir="rtl"] #banner::before { background: linear-gradient(260deg, rgba(18,38,58,.93) 25%, rgba(18,38,58,.55) 100%); }
#banner .tiles { position: absolute; inset: 0; z-index: 1; opacity: .07; background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px); background-size: 64px 64px; }
#banner .inner { position: relative; z-index: 2; }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-2); font-weight: 700; margin-bottom: 14px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
#banner h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.1; font-weight: 800; max-width: 15ch; margin-bottom: 22px; }
#banner h2 span { color: var(--accent-2); }
#banner p.lead { max-width: 62ch; font-size: 1.12rem; opacity: .92; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: .2s; }
.btn.primary { background: var(--accent); color: var(--white); }
.btn.primary:hover { background: #b25a2f; transform: translateY(-2px); }
.btn.ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn.ghost:hover { background: var(--white); color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 46px; }
.chips li { padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-size: .86rem; backdrop-filter: blur(4px); }

/* ---------- Sections ---------- */
section.wrapper { padding: 100px 0; }
section.alt { background: var(--sand); }
.spotlight .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.spotlight.flip .media { order: 2; }
.media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--navy-2), var(--accent)); }
.media::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media.sq2 { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.media.sq3 { background: linear-gradient(135deg, #274e73, var(--navy)); }
.num { font-size: 4.5rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); opacity: .55; display: block; margin-bottom: 4px; }
h2.major { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 18px; position: relative; padding-bottom: 16px; }
h2.major::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.content p { color: var(--muted); margin-bottom: 14px; }
.ticks { margin-top: 18px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 5px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Strategic plan pillars */
.pillars { margin-top: 24px; display: grid; gap: 14px; }
.pillar { background: var(--white); border-radius: 14px; padding: 18px 22px; border-inline-start: 5px solid var(--accent); box-shadow: 0 8px 24px -16px rgba(18,38,58,.35); }
.pillar b { display: block; color: var(--navy); margin-bottom: 2px; }
.pillar span { color: var(--muted); font-size: .96rem; }

/* Core values */
.center { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.center h2.major::after { inset-inline-start: 50%; transform: translateX(-50%); }
html[dir="rtl"] .center h2.major::after { transform: translateX(50%); }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { background: var(--sand); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: .25s; border: 1px solid transparent; }
.value:hover { transform: translateY(-6px); background: var(--white); border-color: var(--stone); box-shadow: var(--shadow); }
.value .ico { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px; background: var(--navy); color: var(--accent-2); display: grid; place-items: center; font-size: 1.5rem; }
.value h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.features { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.feature { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--stone); }
.feature .media { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 9; }
.feature .body { padding: 26px 28px 30px; }
.feature h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 8px; }
.feature p { color: var(--muted); }

/* ---------- Footer / Contact ---------- */
#footer { background: var(--navy); color: var(--white); padding: 100px 0 30px; position: relative; overflow: hidden; }
#footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, rgba(200,105,59,.3), transparent 50%); }
#footer .inner { position: relative; }
#footer h2.major { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; margin-top: 34px; }
#footer p.intro { opacity: .85; max-width: 60ch; }
form .field { margin-bottom: 16px; }
label { display: block; font-size: .85rem; margin-bottom: 6px; opacity: .85; }
input[type=text], input[type=email], textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: var(--white); font: inherit; transition: .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--accent-2); background: rgba(255,255,255,.12); }
.contact { display: grid; gap: 20px; align-content: start; }
.contact li { display: flex; gap: 16px; align-items: flex-start; }
.contact .ci { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--accent-2); font-size: 1.2rem; }
.contact small { display: block; opacity: .6; font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; }
html[lang="ar"] .contact small { letter-spacing: 0; }
.contact a:hover { color: var(--accent-2); }
.copyright { margin-top: 70px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; opacity: .7; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .spotlight .inner, .contact-grid, .features { grid-template-columns: 1fr; gap: 36px; }
  .spotlight.flip .media { order: 0; }
  .values { grid-template-columns: repeat(2, 1fr); }
  section.wrapper { padding: 70px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .values { grid-template-columns: 1fr; }
  .brand .name small { display: none; }
  #banner { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }
