@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Manrope:wght@400;500;600;700&family=Noto+Kufi+Arabic:wght@400;500;600;700&display=swap');

:root {
  --navy: #052644;
  --navy-deep: #031b31;
  --aqua: #0cb7b6;
  --ink: #112535;
  --muted: #5b6974;
  --line: #dbe3e8;
  --paper: #f5f8fa;
  --white: #ffffff;
  --blue: #1d73e8;
  --red: #d83a3a;
  --purple: #7547c8;
  --green: #2e9b63;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 88px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 clamp(24px, 5vw, 80px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(5,38,68,.10);
  backdrop-filter: blur(12px);
}
.brand img { display:block; width: 205px; height: auto; }
nav { display: flex; align-items: center; gap: 34px; }
nav a { font-size: .88rem; font-weight: 700; letter-spacing: .04em; }
nav a:hover, nav a:focus-visible { color: var(--aqua); }
.language {
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}
.language:hover, .language:focus-visible { border-color: var(--aqua); }

.hero {
  position: relative;
  min-height: min(860px, 100vh);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 150px clamp(24px, 7vw, 110px) 80px;
  background: var(--navy-deep) url("assets/hero-waterproofing.png") center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3,27,49,.97) 0%, rgba(3,27,49,.82) 38%, rgba(3,27,49,.18) 70%, rgba(3,27,49,0) 100%);
}
.hero-content { width: min(650px, 62vw); color: var(--white); }
.eyebrow {
  margin: 0 0 18px;
  color: var(--aqua);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, nav a, .eyebrow, .button, .product-number {
  font-family: "Barlow Condensed", Bahnschrift, sans-serif;
}
h1 {
  margin-bottom: 26px;
  max-width: 14ch;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.018em;
  font-weight: 600;
}
.hero-copy { max-width: 610px; margin-bottom: 34px; color: #dbe8ef; font-size: 1.12rem; }
.hero-actions { display:flex; flex-wrap:wrap; gap: 14px; }
.button {
  min-height: 52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 0 24px;
  border-radius: 3px;
  font-weight: 800;
}
.button.primary { background: var(--aqua); color: var(--navy-deep); }
.button.secondary { border: 1px solid rgba(255,255,255,.55); color: var(--white); }
.button:hover, .button:focus-visible { transform: translateY(-1px); }
.hero-index {
  position:absolute;
  right: clamp(24px, 5vw, 80px);
  bottom: 40px;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--white);
  font-size:.75rem;
}
.hero-index i { width:80px; height:1px; background:rgba(255,255,255,.5); }

.section-pad { padding: clamp(78px, 9vw, 140px) clamp(24px, 7vw, 110px); }
.section-heading { display:grid; grid-template-columns: .7fr 1.7fr; gap: 50px; align-items:start; margin-bottom: 58px; }
.section-heading h2, .technical h2, .company h2 {
  margin:0;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height:1.04;
  letter-spacing:-.015em;
  font-weight:600;
  color:var(--navy);
}
.product-grid { display:grid; grid-template-columns: repeat(4,1fr); border-top:1px solid var(--line); }
.product-card { position:relative; min-height:320px; padding:34px 24px 26px; border-right:1px solid var(--line); }
.product-card:last-child { border-right:0; }
.product-card::before { content:""; position:absolute; inset:0 0 auto; height:5px; background:var(--band); transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.product-card:hover::before { transform:scaleX(1); }
.product-card.blue { --band: var(--blue); }
.product-card.red { --band: var(--red); }
.product-card.purple { --band: var(--purple); }
.product-card.green { --band: var(--green); }
.product-number { color:var(--band); font-weight:800; margin-bottom:80px; }
.product-card h3 { color:var(--navy); font-size:1.35rem; line-height:1.15; }
.product-card p { min-height:80px; color:var(--muted); }
.product-card span { color:var(--band); font-size:.82rem; font-weight:800; }

.technical { display:grid; grid-template-columns: 1.25fr .75fr; min-height:680px; padding-top:0; padding-bottom:0; background:var(--paper); }
.technical-visual { margin-left:calc(clamp(24px, 7vw, 110px) * -1); }
.technical-visual img { display:block; width:100%; height:100%; object-fit:cover; }
.technical-copy { padding:clamp(70px,8vw,130px) 0 clamp(70px,8vw,130px) clamp(40px,6vw,100px); }
.technical-copy > p:not(.eyebrow) { color:var(--muted); margin:28px 0; }
.technical-copy ul { list-style:none; margin:0; padding:0; }
.technical-copy li { padding:15px 0; border-top:1px solid var(--line); font-weight:700; }

.principles { background:var(--navy); color:var(--white); }
.principles .section-heading h2 { color:var(--white); }
.section-heading.narrow { grid-template-columns:.7fr 1.7fr; }
.principle-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(255,255,255,.22); }
.principle-grid > div { padding:38px 46px 0 0; }
.principle-grid strong { color:var(--aqua); }
.principle-grid h3 { margin:70px 0 18px; font-size:1.5rem; }
.principle-grid p { color:#bad0dc; }

.company { display:grid; grid-template-columns:1.35fr .65fr; gap:70px; align-items:end; }
.company > div:first-child p:last-child { margin:26px 0 0; color:var(--muted); font-size:1.1rem; line-height:1.8; }
.company-meta { padding-left:30px; border-left:3px solid var(--aqua); }
.company-meta span, .company-meta strong, .company-meta small { display:block; }
.company-meta span { margin-top:7px; color:var(--muted); font-size:.88rem; }
.company-meta strong { margin:8px 0 14px; color:var(--navy); }
.company-meta .digital-label { margin-top:24px; color:var(--aqua); font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.company-meta .digital { margin-bottom:4px; font-family:"Barlow Condensed", Bahnschrift, sans-serif; font-size:1.55rem; }
.company-meta small { margin-top:12px; color:var(--muted); line-height:1.5; }

footer {
  display:grid;
  grid-template-columns:1fr auto auto;
  align-items:center;
  gap:30px;
  padding:38px clamp(24px,7vw,110px);
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.82rem;
}
footer img { width:170px; }
footer p { margin:0; }

html[dir="rtl"] body { font-family: "Noto Kufi Arabic", Dubai, Tahoma, sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] nav a,
html[dir="rtl"] .eyebrow, html[dir="rtl"] .button, html[dir="rtl"] .product-number {
  font-family: "Noto Kufi Arabic", Dubai, Tahoma, sans-serif;
  letter-spacing:0;
}
html[dir="rtl"] .hero-overlay { background:linear-gradient(270deg,rgba(3,27,49,.97) 0%,rgba(3,27,49,.82) 38%,rgba(3,27,49,.18) 70%,rgba(3,27,49,0) 100%); }
html[dir="rtl"] .hero { background-position:center; }
html[dir="rtl"] .eyebrow { letter-spacing:.03em; }
html[dir="rtl"] .product-card { border-right:0; border-left:1px solid var(--line); }
html[dir="rtl"] .technical-visual { margin-left:0; margin-right:calc(clamp(24px,7vw,110px) * -1); }
html[dir="rtl"] .technical-copy { padding-left:0; padding-right:clamp(40px,6vw,100px); }
html[dir="rtl"] .company-meta { padding-left:0; padding-right:30px; border-left:0; border-right:3px solid var(--aqua); }

@media (max-width: 900px) {
  .site-header { grid-template-columns:1fr auto; height:76px; padding:0 22px; }
  .brand img { width:170px; }
  nav { display:none; }
  .hero { min-height:760px; padding:120px 24px 60px; background-position:62% center; }
  .hero-content { width:100%; max-width:590px; }
  .hero-overlay { background:linear-gradient(90deg,rgba(3,27,49,.98),rgba(3,27,49,.72)); }
  .section-heading, .section-heading.narrow { grid-template-columns:1fr; gap:10px; }
  .product-grid { grid-template-columns:repeat(2,1fr); }
  .product-card { border-bottom:1px solid var(--line); }
  .technical { grid-template-columns:1fr; padding:0; }
  .technical-visual { margin:0; height:460px; }
  .technical-copy { padding:70px 24px; }
  .principle-grid { grid-template-columns:1fr; }
  .principle-grid > div { border-bottom:1px solid rgba(255,255,255,.2); padding-bottom:32px; }
  .principle-grid h3 { margin-top:24px; }
  .company { grid-template-columns:1fr; align-items:start; }
  footer { grid-template-columns:1fr; }
}

@media (max-width: 560px) {
  h1 { font-size:2.8rem; }
  .hero-actions { align-items:stretch; flex-direction:column; }
  .button { width:100%; }
  .product-grid { grid-template-columns:1fr; }
  .product-card { border-right:0; min-height:auto; }
  .product-number { margin-bottom:42px; }
  .technical-visual { height:340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition:none !important; }
}
