@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
:root {
  --navy-950: #03182f;
  --navy-900: #062746;
  --navy-800: #0a3761;
  --blue-700: #0876b9;
  --blue-600: #079bd8;
  --blue-500: #18aee7;
  --cyan-100: #e9f8ff;
  --orange-500: #f57b20;
  --ink-900: #142b3f;
  --ink-700: #3d566b;
  --ink-500: #6e8191;
  --line: #dce7ef;
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --surface-blue: #edf8fd;
  --success: #0a906f;
  --shadow-sm: 0 8px 24px rgba(5, 38, 68, 0.08);
  --shadow-md: 0 18px 50px rgba(5, 38, 68, 0.14);
  --shadow-lg: 0 30px 90px rgba(2, 26, 50, 0.24);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --header-height: 94px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--surface-soft);
}

html[data-lang="ar"] .lang-en,
html[data-lang="en"] .lang-ar {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink-900);
  background: var(--surface-soft);
  font-family: Tahoma, Arial, "Segoe UI", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

ul {
  margin-top: 0;
}

::selection {
  color: #fff;
  background: var(--blue-700);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container,
.container-wide {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.container-wide {
  width: min(1380px, calc(100% - 40px));
}

.skip-link {
  position: fixed;
  inset-inline-start: 20px;
  top: -80px;
  z-index: 4000;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy-950);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

/* Header and permanent hamburger navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(9, 79, 124, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-shell {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 24px;
}

.menu-toggle,
.drawer-close,
.language-button {
  border: 0;
  cursor: pointer;
}

.menu-toggle {
  justify-self: start;
  width: 52px;
  height: 52px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 0 13px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy-900), var(--blue-700));
  box-shadow: 0 10px 24px rgba(5, 61, 104, 0.22);
  transition: transform var(--transition), box-shadow var(--transition);
}

.menu-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 61, 104, 0.28);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-brand {
  justify-self: center;
  width: min(380px, 38vw);
}

.site-brand img {
  width: 100%;
  height: auto;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy-800);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.header-location:hover {
  color: var(--blue-700);
  border-color: rgba(7, 155, 216, 0.55);
  transform: translateY(-1px);
}

.language-button {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  background: var(--orange-500);
  font-weight: 800;
  box-shadow: 0 9px 20px rgba(245, 123, 32, 0.24);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1900;
  opacity: 0;
  visibility: hidden;
  background: rgba(2, 20, 38, 0.64);
  backdrop-filter: blur(4px);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.menu-drawer {
  position: fixed;
  z-index: 2000;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(430px, 92vw);
  padding: 28px;
  overflow-y: auto;
  color: #fff;
  background:
    radial-gradient(circle at 85% 12%, rgba(24, 174, 231, 0.28), transparent 32%),
    linear-gradient(160deg, var(--navy-950), #073a66 64%, #075684);
  box-shadow: var(--shadow-lg);
  transform: translateX(110%);
  visibility: hidden;
  transition: transform 300ms cubic-bezier(.2, .8, .2, 1), visibility 300ms ease;
}

html[dir="ltr"] .menu-drawer {
  transform: translateX(-110%);
}

.menu-drawer.open,
html[dir="ltr"] .menu-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.drawer-head img {
  width: 255px;
  max-width: calc(100% - 64px);
  padding: 7px 10px;
  border-radius: 12px;
  background: #fff;
}

.drawer-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.drawer-intro {
  margin: 24px 0 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
}

.drawer-nav {
  display: grid;
  gap: 7px;
}

.drawer-nav a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 700;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.drawer-nav a:hover,
.drawer-nav a.active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-3px);
}

html[dir="ltr"] .drawer-nav a:hover,
html[dir="ltr"] .drawer-nav a.active {
  transform: translateX(3px);
}

.drawer-nav a.active::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 5px rgba(245, 123, 32, 0.18);
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.drawer-contact {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

/* Buttons */
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  box-shadow: 0 12px 26px rgba(7, 125, 183, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(7, 125, 183, 0.3);
}

.btn-orange {
  color: #fff;
  background: var(--orange-500);
  box-shadow: 0 12px 24px rgba(245, 123, 32, 0.22);
}

.btn-light {
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-outline-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}

.btn-secondary {
  color: var(--navy-900);
  border-color: var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  color: var(--blue-700);
  border-color: rgba(7, 155, 216, 0.45);
}

/* Shared section styles */
.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-white {
  background: #fff;
}

.section-dark {
  color: #fff;
  background: var(--navy-950);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange-500);
}

.section-heading h2 {
  margin-bottom: 14px;
  color: var(--navy-900);
  font-size: clamp(30px, 4vw, 48px);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-700);
  font-size: 17px;
}

.section-dark .section-heading h2,
.section-dark .section-heading p {
  color: #fff;
}

.page-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 24, 47, 0.98) 0%, rgba(5, 42, 76, 0.91) 50%, rgba(4, 51, 88, 0.72) 100%),
    url("assets/hero-pipes.webp") center/cover no-repeat;
}

html[dir="ltr"] .page-hero {
  background:
    linear-gradient(-90deg, rgba(3, 24, 47, 0.98) 0%, rgba(5, 42, 76, 0.91) 50%, rgba(4, 51, 88, 0.72) 100%),
    url("assets/hero-pipes.webp") center/cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -180px auto;
  width: 440px;
  height: 440px;
  border: 70px solid rgba(24, 174, 231, 0.12);
  transform: rotate(24deg);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 66px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #fff;
}

.page-hero h1 {
  margin-bottom: 15px;
  font-size: clamp(42px, 7vw, 72px);
}

.page-hero p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--cyan-100);
  font-size: 12px;
  font-weight: 900;
}

.card {
  border: 1px solid rgba(7, 80, 127, 0.1);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--blue-700);
  background: var(--cyan-100);
  font-size: 25px;
}

/* Home */
.home-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 24, 47, 0.99) 0%, rgba(5, 47, 83, 0.93) 48%, rgba(4, 59, 99, 0.55) 100%),
    url("assets/hero-pipes.webp") center/cover no-repeat;
}

html[dir="ltr"] .home-hero {
  background:
    linear-gradient(-90deg, rgba(3, 24, 47, 0.99) 0%, rgba(5, 47, 83, 0.93) 48%, rgba(4, 59, 99, 0.55) 100%),
    url("assets/hero-pipes.webp") center/cover no-repeat;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-hero::before {
  width: 680px;
  height: 680px;
  inset-inline-end: -260px;
  bottom: -360px;
  border: 90px solid rgba(24, 174, 231, 0.12);
  transform: rotate(22deg);
}

.home-hero::after {
  width: 180px;
  height: 7px;
  inset-inline-start: max(20px, calc((100vw - 1180px) / 2));
  bottom: 0;
  background: var(--orange-500);
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  align-items: center;
  gap: 42px;
  padding: 80px 0 110px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: #8bdbff;
  font-size: 14px;
  font-weight: 900;
}

.hero-kicker::before {
  content: "";
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange-500);
}

.home-hero h1 {
  max-width: 760px;
  margin-bottom: 19px;
  font-size: clamp(46px, 7vw, 78px);
  letter-spacing: -0.025em;
}

.home-hero .hero-lead {
  max-width: 690px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 800;
}

.home-hero .hero-text {
  max-width: 650px;
  margin-bottom: 31px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stat-panel {
  justify-self: end;
  width: min(310px, 100%);
  display: grid;
  gap: 12px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

.hero-stat strong {
  display: block;
  min-width: 92px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 60px;
  align-items: center;
}

.home-intro-copy h2 {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: clamp(32px, 5vw, 52px);
}

.home-intro-copy p {
  color: var(--ink-700);
  font-size: 17px;
}

.home-intro-copy .btn {
  margin-top: 10px;
}

.factory-visual {
  position: relative;
}

.factory-visual::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  z-index: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--blue-600), var(--navy-800));
}

html[dir="ltr"] .factory-visual::before {
  inset: 24px 24px -24px -24px;
}

.factory-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.focus-card {
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.focus-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.focus-card h3 {
  margin: 18px 0 10px;
  color: var(--navy-900);
  font-size: 21px;
}

.focus-card p {
  margin-bottom: 0;
  color: var(--ink-700);
  font-size: 15px;
}

.standards-band {
  padding: 34px 0;
  color: #fff;
  background:
    linear-gradient(120deg, var(--navy-950), var(--navy-800)),
    var(--navy-950);
}

.standards-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.55fr);
  align-items: center;
  gap: 20px;
}

.standards-copy h2 {
  margin-bottom: 4px;
  font-size: 24px;
}

.standards-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.standard-pill {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 17px;
  font-weight: 900;
}

/* About */
.about-lead-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 46px;
  align-items: start;
}

.about-profile-card {
  padding: 34px;
}

.about-profile-card h2 {
  margin-bottom: 16px;
  color: var(--navy-900);
  font-size: 34px;
}

.about-profile-card p {
  color: var(--ink-700);
}

.about-profile-card p:last-child {
  margin-bottom: 0;
}

.history-list {
  display: grid;
  gap: 16px;
}

.history-item {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 18px;
  color: #fff;
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.history-item:nth-child(2) {
  background: var(--blue-700);
}

.history-item:nth-child(3) {
  color: var(--navy-900);
  background: var(--cyan-100);
}

.history-year {
  align-self: start;
  color: var(--orange-500);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.history-item h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.history-item p {
  margin-bottom: 0;
  color: inherit;
  opacity: 0.8;
  font-size: 14px;
}

.factory-story-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 54px;
}

.factory-story-grid img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.factory-story-copy h2 {
  margin-bottom: 17px;
  color: var(--navy-900);
  font-size: 40px;
}

.factory-story-copy p {
  color: var(--ink-700);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.application-item {
  min-height: 124px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.application-item::before {
  content: "✓";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-600);
  flex: 0 0 auto;
}

.about-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 38px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(24, 174, 231, 0.3), transparent 32%),
    var(--navy-950);
}

.about-cta h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.about-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

/* Product catalogue */
.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.catalog-search {
  position: relative;
}

.catalog-search svg {
  position: absolute;
  top: 50%;
  inset-inline-start: 17px;
  transform: translateY(-50%);
  color: var(--ink-500);
}

.catalog-search input {
  width: 100%;
  height: 52px;
  padding: 10px 52px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  color: var(--ink-900);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

html[dir="ltr"] .catalog-search input {
  padding: 10px 18px 10px 52px;
}

.catalog-search input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(7, 155, 216, 0.12);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-700);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  transition: all var(--transition);
}

.filter-button:hover,
.filter-button.active {
  color: #fff;
  border-color: var(--blue-700);
  background: var(--blue-700);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 80, 127, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(7, 155, 216, 0.34);
  box-shadow: var(--shadow-md);
}

.product-card-image {
  position: relative;
  height: 230px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #edf5fa);
}

.product-card-image::after {
  content: "";
  position: absolute;
  inset: auto -30px -50px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(7, 155, 216, 0.1);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.product-card-category {
  position: absolute;
  top: 15px;
  inset-inline-start: 15px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 24, 47, 0.82);
  backdrop-filter: blur(7px);
  font-size: 11px;
  font-weight: 900;
}

.product-card-body {
  padding: 22px;
}

.product-card h2 {
  margin-bottom: 10px;
  color: var(--navy-900);
  font-size: 21px;
}

.product-card p {
  min-height: 78px;
  margin-bottom: 16px;
  color: var(--ink-700);
  font-size: 14px;
}

.product-highlights {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.product-highlights li {
  position: relative;
  padding-inline-start: 20px;
  color: var(--ink-700);
  font-size: 13px;
}

.product-highlights li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  inset-inline-start: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
}

.product-card .btn {
  width: 100%;
}

.products-empty {
  grid-column: 1 / -1;
  padding: 50px 24px;
  border: 1px dashed #b7c9d6;
  border-radius: 20px;
  color: var(--ink-700);
  background: #fff;
  text-align: center;
}

.catalog-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #bfe7f7;
  border-radius: 18px;
  color: var(--navy-800);
  background: var(--cyan-100);
  font-size: 14px;
}

.catalog-note strong {
  display: block;
  margin-bottom: 3px;
}

.product-dialog {
  width: min(1040px, calc(100% - 28px));
  max-height: calc(100vh - 30px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  color: var(--ink-900);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.product-dialog::backdrop {
  background: rgba(2, 20, 38, 0.68);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  max-height: calc(100vh - 30px);
  overflow-y: auto;
}

.dialog-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  color: #fff;
  background: var(--navy-900);
}

.dialog-head h2 {
  margin-bottom: 0;
  font-size: 25px;
}

.dialog-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.dialog-content {
  padding: 28px;
}

.dialog-summary {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
}

.dialog-summary > img {
  width: 100%;
  height: 280px;
  min-height: 0;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.dialog-summary p {
  color: var(--ink-700);
}

.dialog-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.dialog-list-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
}

.dialog-list-box h3 {
  margin-bottom: 11px;
  color: var(--navy-900);
  font-size: 17px;
}

.dialog-list-box ul {
  margin-bottom: 0;
  padding-inline-start: 20px;
  color: var(--ink-700);
  font-size: 14px;
}

.dialog-sheets {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.dialog-sheets h3 {
  margin-bottom: 14px;
  color: var(--navy-900);
}

.dialog-sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dialog-sheet-button {
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  cursor: zoom-in;
  background: #fff;
}

.dialog-sheet-button img {
  width: 100%;
  aspect-ratio: 0.707;
  object-fit: cover;
  object-position: top;
}

.dialog-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* Quality */
.iso-hero-card {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(24, 174, 231, 0.34), transparent 34%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow-md);
}

.iso-mark {
  width: 230px;
  height: 230px;
  display: grid;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.12);
  text-align: center;
}

.iso-mark strong {
  display: block;
  font-size: 56px;
  line-height: 1;
}

.iso-mark span {
  display: block;
  margin-top: 9px;
  color: #8bdbff;
  font-size: 19px;
  font-weight: 900;
}

.iso-copy h2 {
  margin-bottom: 14px;
  font-size: 40px;
}

.iso-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.standard-card {
  padding: 25px;
  text-align: center;
}

.standard-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-700);
  font-size: 24px;
}

.standard-card p {
  margin-bottom: 0;
  color: var(--ink-700);
  font-size: 14px;
}

.quality-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quality-feature {
  padding: 26px;
}

.quality-feature h3 {
  margin: 16px 0 9px;
  color: var(--navy-900);
  font-size: 20px;
}

.quality-feature p {
  margin-bottom: 0;
  color: var(--ink-700);
  font-size: 14px;
}

.property-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.property-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.property-table th,
.property-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.property-table th:first-child,
.property-table td:first-child {
  text-align: start;
}

.property-table thead th {
  color: #fff;
  background: var(--navy-900);
  font-size: 14px;
}

.property-table tbody tr:nth-child(even) {
  background: var(--surface-soft);
}

.property-table tbody tr:last-child td {
  border-bottom: 0;
}

.quality-sheets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sheet-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sheet-card button {
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: #fff;
}

.sheet-card img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  object-position: top;
}

.sheet-card h3 {
  margin: 0;
  padding: 16px 18px;
  color: var(--navy-900);
  font-size: 16px;
}

/* Technical */
.joining-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.joining-card {
  padding: 25px;
}

.joining-card .number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--blue-700);
  font-size: 16px;
  font-weight: 900;
}

.joining-card h3 {
  margin: 17px 0 9px;
  color: var(--navy-900);
  font-size: 20px;
}

.joining-card p {
  margin-bottom: 0;
  color: var(--ink-700);
  font-size: 14px;
}

.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.install-card {
  padding: 28px;
}

.install-card h3 {
  margin-bottom: 16px;
  color: var(--navy-900);
  font-size: 24px;
}

.install-card ul {
  margin-bottom: 0;
  padding-inline-start: 20px;
  color: var(--ink-700);
}

.tech-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 30px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--navy-800));
}

.tech-callout h2 {
  margin-bottom: 6px;
  font-size: 27px;
}

.tech-callout p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.technical-sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.technical-sheet {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.technical-sheet button {
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: #fff;
}

.technical-sheet img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  object-position: top;
}

.technical-sheet span {
  display: block;
  padding: 13px 14px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 800;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-panel {
  padding: 30px;
}

.contact-panel h2 {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: 31px;
}

.contact-panel > p {
  color: var(--ink-700);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.contact-item .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 22px;
}

.contact-item strong {
  display: block;
  color: var(--navy-900);
  font-size: 14px;
}

.contact-item span,
.contact-item a {
  color: var(--ink-700);
  font-size: 14px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.map-card {
  min-height: 640px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #dcecf4;
  box-shadow: var(--shadow-md);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
}

.contact-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-extra {
  padding: 24px;
  text-align: center;
}

.contact-extra h3 {
  margin: 15px 0 7px;
  color: var(--navy-900);
}

.contact-extra p {
  margin-bottom: 0;
  color: var(--ink-700);
  font-size: 14px;
}

/* Footer */
.site-footer {
  color: #fff;
  background: var(--navy-950);
}

.footer-main {
  padding: 66px 0 52px;
  background:
    radial-gradient(circle at 12% 15%, rgba(24, 174, 231, 0.18), transparent 30%),
    var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1.15fr 1fr;
  gap: 42px;
}

.footer-brand img {
  width: 300px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #fff;
}

.footer-brand p,
.footer-catalogue p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.footer-column h2 {
  margin-bottom: 17px;
  font-size: 18px;
}

.footer-links,
.footer-contact-list {
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  transition: color var(--transition), transform var(--transition);
}

.footer-contact-list a {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-links a:hover,
.footer-contact-list a:hover {
  color: #fff;
  transform: translateX(-3px);
}

html[dir="ltr"] .footer-links a:hover,
html[dir="ltr"] .footer-contact-list a:hover {
  transform: translateX(3px);
}

.footer-bottom {
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #021426;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  background: rgba(1, 14, 27, 0.9);
  transition: opacity 200ms ease, visibility 200ms ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  cursor: zoom-out;
  background: transparent;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.lightbox-head {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
  background: var(--navy-900);
}

.lightbox-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-image-wrap {
  overflow: auto;
  background: #eef3f7;
}

.lightbox-image-wrap img {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: contain;
}

.lightbox-caption {
  margin: 0;
  padding: 14px 18px;
  color: var(--ink-700);
  background: #fff;
  font-size: 14px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .header-shell {
    grid-template-columns: 150px auto 150px;
  }

  .header-location {
    display: none;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat-panel {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    justify-self: stretch;
  }

  .products-grid,
  .quality-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .application-grid,
  .joining-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .technical-sheet-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .footer-catalogue {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 20px;
  }

  .footer-catalogue h2,
  .footer-catalogue p {
    margin-bottom: 0;
  }

  .footer-catalogue .btn {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 82px;
  }

  .site-brand {
    width: min(300px, 48vw);
  }

  .home-intro-grid,
  .about-lead-grid,
  .factory-story-grid,
  .contact-grid,
  .iso-hero-card {
    grid-template-columns: 1fr;
  }

  .home-intro-grid,
  .factory-story-grid {
    gap: 38px;
  }

  .factory-story-grid img {
    order: 2;
  }

  .focus-grid,
  .contact-extra-grid {
    grid-template-columns: 1fr;
  }

  .standards-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .standards-copy {
    grid-column: 1 / -1;
    text-align: center;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    justify-content: flex-start;
  }

  .dialog-summary {
    grid-template-columns: 1fr;
  }

  .dialog-summary > img {
    max-height: 340px;
  }

  .iso-mark {
    margin-inline: auto;
  }

  .quality-sheets {
    grid-template-columns: repeat(2, 1fr);
  }

  .technical-sheet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-card,
  .map-card iframe {
    min-height: 480px;
  }
}

@media (max-width: 720px) {
  .container,
  .container-wide {
    width: min(100% - 28px, 1180px);
  }

  .header-shell {
    grid-template-columns: 54px 1fr 44px;
    gap: 12px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .site-brand {
    width: min(255px, 52vw);
  }

  .header-actions {
    gap: 0;
  }

  .language-button {
    width: 42px;
    height: 42px;
  }

  .menu-drawer {
    padding: 22px;
  }

  .drawer-actions {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    min-height: 310px;
  }

  .page-hero-content {
    padding: 52px 0;
  }

  .home-hero {
    min-height: 650px;
  }

  .home-hero-grid {
    padding: 64px 0 88px;
  }

  .home-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-stat-panel {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    padding: 15px;
  }

  .factory-visual::before {
    inset: 14px -10px -14px 10px;
  }

  html[dir="ltr"] .factory-visual::before {
    inset: 14px 10px -14px -10px;
  }

  .factory-visual img,
  .factory-story-grid img {
    min-height: 280px;
  }

  .products-grid,
  .standards-grid,
  .quality-feature-grid,
  .application-grid,
  .joining-grid,
  .install-grid,
  .quality-sheets,
  .technical-sheet-grid,
  .contact-extra-grid {
    grid-template-columns: 1fr;
  }

  .product-card-image {
    height: 250px;
  }

  .about-cta,
  .tech-callout {
    grid-template-columns: 1fr;
  }

  .dialog-list-grid,
  .dialog-sheet-grid {
    grid-template-columns: 1fr;
  }

  .dialog-content {
    padding: 20px;
  }

  .dialog-head {
    padding: 17px 20px;
  }

  .iso-hero-card {
    padding: 30px 22px;
  }

  .iso-mark {
    width: 190px;
    height: 190px;
  }

  .iso-mark strong {
    font-size: 47px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-catalogue {
    display: block;
  }

  .footer-catalogue .btn {
    margin-top: 8px;
  }

  .footer-bottom-inner {
    display: grid;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-brand {
    width: 190px;
  }

  .hero-actions,
  .contact-actions,
  .dialog-footer-actions {
    display: grid;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .dialog-footer-actions .btn {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .home-hero .hero-lead {
    font-size: 21px;
  }

  .about-profile-card,
  .contact-panel {
    padding: 23px;
  }

  .history-item {
    grid-template-columns: 68px 1fr;
    padding: 18px;
  }

  .application-item {
    min-height: 94px;
  }

  .catalog-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  .filter-button {
    white-space: nowrap;
  }

  .product-card-body {
    padding: 19px;
  }

  .product-card p {
    min-height: auto;
  }

  .lightbox {
    padding: 10px;
  }

  .lightbox-panel {
    max-height: calc(100vh - 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 2026-08 refinement: Cairo type, transparent white brand, quick menu actions, social footer */

body,
button,
input,
textarea,
select {
  font-family: "Cairo", Tahoma, Arial, sans-serif;
}

/* Improve readability of smaller copy across the site. */
body { font-size: 18px; }
.drawer-intro { font-size: 17px; }
.header-location { font-size: 16px; }
.btn { font-size: 17px; }
.hero-kicker { font-size: 16px; }
.home-hero .hero-text { font-size: 19px; }
.hero-stat span { font-size: 15px; }
.focus-card p { font-size: 17px; }
.contact-extra p { font-size: 16px; }
.footer-brand p,
.footer-catalogue p,
.footer-links a,
.footer-contact-list a { font-size: 16px; }
.footer-bottom-inner { font-size: 14px; }

/* Header is dark so the transparent white company name remains crisp. */
.site-header {
  border-bottom-color: rgba(255,255,255,.09);
  background: rgba(3, 24, 47, .97);
}

.site-brand img,
.drawer-head img,
.footer-brand img {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.site-brand img {
  filter: drop-shadow(0 3px 12px rgba(0,0,0,.18));
}

.header-location {
  color: #fff;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}

.header-location:hover {
  color: #fff;
  border-color: rgba(24,174,231,.7);
  background: rgba(24,174,231,.12);
}

.menu-toggle {
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  box-shadow: none;
}

.menu-toggle:hover {
  background: rgba(24,174,231,.16);
  box-shadow: none;
}

.drawer-head img { width: 285px; }
.footer-brand img { width: 320px; }

/* Four clear rectangles inside the hamburger menu. */
.drawer-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.drawer-action-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  color: #fff;
  background: rgba(255,255,255,.08);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.drawer-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(24,174,231,.72);
  background: rgba(24,174,231,.15);
}

.drawer-action-card > svg {
  width: 29px;
  height: 29px;
  color: #35bff0;
}

.drawer-action-card > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.drawer-action-card b {
  font-size: 16px;
  line-height: 1.45;
}

.drawer-action-card small {
  overflow: hidden;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Social media strip at the end of every page. */
.footer-social {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #05213c;
}

.footer-social-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-social-copy h2 {
  margin: 0 0 4px;
  font-size: 19px;
}

.footer-social-copy p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 15px;
}

.social-media-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-media-item {
  min-width: 132px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  font-size: 15px;
  font-weight: 700;
}

.social-media-item img {
  width: 24px;
  height: 24px;
}

@media (max-width: 720px) {
  .drawer-quick-actions { grid-template-columns: 1fr 1fr; }
  .drawer-action-card { min-height: 86px; }
  .footer-social-inner { align-items: stretch; flex-direction: column; }
  .social-media-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .social-media-item { min-width: 0; }
}

@media (max-width: 480px) {
  .site-brand { width: 205px; }
  .drawer-quick-actions { grid-template-columns: 1fr; }
  .social-media-list { grid-template-columns: 1fr; }
}

/* 2026-08 logo update: user-provided transparent SAFI logo */
.site-brand {
  width: min(245px, 28vw);
}
.site-brand img {
  display: block;
  width: 100%;
  max-height: 112px;
  object-fit: contain;
}
.drawer-head img {
  width: 220px;
  max-height: 145px;
  object-fit: contain;
}
.footer-brand img {
  width: min(300px, 100%);
  max-height: 190px;
  object-fit: contain;
}
@media (max-width: 720px) {
  .site-brand { width: 180px; }
  .site-brand img { max-height: 88px; }
}
@media (max-width: 480px) {
  .site-brand { width: 150px; }
  .site-brand img { max-height: 76px; }
  .drawer-head img { width: 180px; max-height: 120px; }
}

/* 2026-08 brand lockup: company name on the right, SAFI symbol on the left */
.site-header {
  --header-height: 122px;
}
.header-shell {
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
}
.brand-lockup {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  color: #fff;
}
.site-brand {
  width: min(610px, 52vw);
  max-width: 610px;
}
.brand-symbol {
  flex: 0 0 auto;
  width: 118px !important;
  height: 108px !important;
  max-height: none !important;
  object-fit: contain;
}
.brand-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: right;
  line-height: 1.08;
  white-space: nowrap;
}
.brand-name-ar {
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  font-size: 25px;
  font-weight: 800;
  color: #fff;
}
.brand-name-en {
  direction: ltr;
  margin-top: 7px;
  font-family: 'Cairo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #fff;
}
.drawer-brand {
  justify-content: flex-start;
  gap: 13px;
}
.drawer-brand .brand-symbol {
  width: 82px !important;
  height: 76px !important;
}
.drawer-brand .brand-name-ar { font-size: 18px; }
.drawer-brand .brand-name-en { font-size: 14px; margin-top: 4px; }
.footer-brand-lockup {
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.footer-brand-lockup .brand-symbol {
  width: 104px !important;
  height: 96px !important;
}
.footer-brand-lockup .brand-name-ar { font-size: 22px; }
.footer-brand-lockup .brand-name-en { font-size: 17px; }

@media (max-width: 1050px) {
  .site-brand { width: min(500px, 50vw); }
  .brand-symbol { width: 96px !important; height: 90px !important; }
  .brand-name-ar { font-size: 21px; }
  .brand-name-en { font-size: 17px; }
  .header-location span { display: none; }
}
@media (max-width: 720px) {
  .site-header { --header-height: 96px; }
  .header-shell { grid-template-columns: 54px 1fr 54px; gap: 8px; }
  .site-brand { width: 100%; max-width: 390px; }
  .brand-lockup { gap: 9px; }
  .brand-symbol { width: 72px !important; height: 68px !important; }
  .brand-name-ar { font-size: 15px; }
  .brand-name-en { font-size: 11.5px; margin-top: 4px; }
  .header-location { display: none; }
  .language-button { min-width: 46px; }
}
@media (max-width: 480px) {
  .site-brand { width: 100%; max-width: 280px; }
  .brand-symbol { width: 60px !important; height: 58px !important; }
  .brand-name-ar { font-size: 12.5px; }
  .brand-name-en { font-size: 9.5px; }
}

/* WhatsApp brand icon fix */
.whatsapp-logo {
  fill: currentColor;
  stroke: none;
}
.drawer-action-card[href^="https://wa.me"] > svg {
  color: #25D366;
  width: 32px;
  height: 32px;
}
.social-media-item {
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.social-media-item:hover {
  transform: translateY(-2px);
  border-color: rgba(24,174,231,.72);
  background: rgba(24,174,231,.14);
}

/* Contact action clarity update */
.drawer-action-card small.phone-value {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .15px;
  overflow: visible;
  text-overflow: clip;
}
.drawer-action-card small.email-value {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}
.drawer-action-card[href^="https://wa.me"] > span {
  align-self: center;
}

/* Dedicated product details page */
.product-detail-hero .page-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.product-back-button { white-space: nowrap; }
.product-detail-page { display: grid; gap: 2rem; }
.product-detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 2rem;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(6,39,70,.1);
  border-radius: 24px;
  padding: 1.5rem;
}
.product-detail-main-image {
  overflow: hidden;
  border-radius: 18px;
  background: #f5f8fb;
}
.product-detail-main-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7.6;
  object-fit: cover;
}
.product-detail-copy h1 { margin: .7rem 0 1rem; }
.product-detail-summary { font-size: 1.08rem; line-height: 1.9; }
.product-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.product-detail-info-box {
  background: #fff;
  border: 1px solid rgba(6,39,70,.1);
  border-radius: 20px;
  padding: 1.5rem;
}
.product-detail-info-box h2 { margin-top: 0; }
.product-detail-info-box ul { margin-bottom: 0; }
.product-detail-info-box li { margin: .65rem 0; line-height: 1.8; }
.product-detail-sheets {
  background: #fff;
  border: 1px solid rgba(6,39,70,.1);
  border-radius: 24px;
  padding: 1.5rem;
}
.product-detail-bottom-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.product-not-found {
  text-align: center;
  background: #fff;
  border-radius: 24px;
  padding: 3rem 1rem;
}
@media (max-width: 820px) {
  .product-detail-intro,
  .product-detail-info-grid { grid-template-columns: 1fr; }
  .product-detail-hero .page-hero-content { align-items: flex-start; }
  .product-back-button { width: 100%; }
}

/* 2026-08-11 responsive device pass: desktop, tablet and mobile */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

.btn,
.menu-toggle,
.language-button,
.drawer-close,
.drawer-action-card,
.filter-button,
.social-media-item {
  touch-action: manipulation;
}

/* Desktop / wide screens */
@media (min-width: 1200px) {
  .container { width: min(1180px, calc(100% - 64px)); }
  .container-wide { width: min(1380px, calc(100% - 64px)); }
  .home-hero-grid { min-height: 660px; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* iPad / tablet landscape and small laptops */
@media (min-width: 721px) and (max-width: 1199px) {
  :root { --header-height: 106px; }

  .container,
  .container-wide {
    width: min(100% - 48px, 1080px);
  }

  .header-shell {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    gap: 14px;
  }

  .site-brand {
    width: min(100%, 560px);
  }

  .brand-symbol {
    width: 88px !important;
    height: 82px !important;
  }

  .brand-name-ar { font-size: 19px; }
  .brand-name-en { font-size: 15px; }
  .header-location { display: none; }

  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 64px 0 80px;
  }

  .hero-stat-panel {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-intro-grid,
  .about-lead-grid,
  .factory-story-grid,
  .contact-grid,
  .iso-hero-card {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .products-grid,
  .quality-feature-grid,
  .quality-sheets,
  .technical-sheet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-image { height: 235px; }
  .application-grid,
  .joining-grid,
  .install-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .product-detail-intro { grid-template-columns: 1fr 1fr; }
  .product-detail-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .drawer-action-card,
  .btn,
  .filter-button { min-height: 48px; }
}

/* Phones and portrait tablets */
@media (max-width: 720px) {
  :root { --header-height: 88px; }

  body { font-size: 16px; line-height: 1.72; }

  .container,
  .container-wide {
    width: min(100% - 28px, 680px);
  }

  .site-header { height: var(--header-height); }
  .header-shell {
    grid-template-columns: 50px minmax(0, 1fr) 46px;
    gap: 7px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    padding-inline: 11px;
  }

  .language-button {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 15px;
  }

  .site-brand {
    width: 100%;
    max-width: 315px;
  }

  .brand-lockup { gap: 7px; }
  .brand-symbol {
    width: 64px !important;
    height: 60px !important;
  }
  .brand-name-ar { font-size: 13px; }
  .brand-name-en { font-size: 10.5px; margin-top: 3px; }

  .menu-drawer {
    width: min(390px, 94vw);
    padding: 20px 18px 28px;
  }

  .drawer-brand .brand-symbol {
    width: 68px !important;
    height: 62px !important;
  }

  .drawer-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .drawer-action-card {
    min-width: 0;
    min-height: 88px;
    padding: 12px 10px;
  }

  .section { padding: 54px 0; }
  .page-hero { min-height: 250px; }
  .page-hero-content { padding: 42px 0; }
  .page-hero h1 { font-size: clamp(34px, 10vw, 46px); }

  .home-hero {
    min-height: auto;
    background-position: 58% center;
  }

  .home-hero-grid {
    min-height: 620px;
    padding: 56px 0 70px;
    gap: 28px;
  }

  .home-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
    overflow-wrap: anywhere;
  }

  .home-hero .hero-lead { font-size: 21px; }
  .home-hero .hero-text { font-size: 16px; }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .dialog-footer-actions .btn,
  .product-detail-bottom-actions .btn {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  .hero-stat-panel { grid-template-columns: 1fr; }
  .hero-stat { min-height: 76px; }

  .home-intro-grid,
  .about-lead-grid,
  .factory-story-grid,
  .contact-grid,
  .iso-hero-card,
  .product-detail-intro,
  .product-detail-info-grid {
    grid-template-columns: 1fr;
  }

  .home-intro-copy h2,
  .factory-story-copy h2,
  .section-heading h2 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .factory-visual img,
  .factory-story-grid img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .products-grid,
  .quality-feature-grid,
  .standards-grid,
  .application-grid,
  .joining-grid,
  .install-grid,
  .quality-sheets,
  .technical-sheet-grid,
  .contact-extra-grid {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar { gap: 14px; }
  .catalog-search input { height: 50px; font-size: 16px; }
  .catalog-filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 2px 0 8px;
    scrollbar-width: thin;
  }
  .filter-button { flex: 0 0 auto; min-height: 44px; }

  .product-card-image { height: 225px; }
  .product-card-body { padding: 20px; }
  .product-card h2 { font-size: 20px; }
  .product-card p,
  .product-highlights li { font-size: 15px; }

  .product-detail-main-image img { aspect-ratio: 4 / 3; object-fit: contain; }
  .product-detail-intro,
  .product-detail-info-box,
  .product-detail-sheets { padding: 18px; }
  .product-detail-bottom-actions { display: grid; grid-template-columns: 1fr; }

  .technical-table-wrap,
  .table-wrap,
  .spec-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table { min-width: 620px; }

  .map-card,
  .map-card iframe { min-height: 360px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-social-inner { align-items: stretch; flex-direction: column; }
  .social-media-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .social-media-item { min-width: 0; min-height: 50px; }
}

/* Small phones */
@media (max-width: 480px) {
  .container,
  .container-wide { width: calc(100% - 22px); }

  .header-shell {
    grid-template-columns: 44px minmax(0, 1fr) 42px;
    gap: 5px;
  }

  .menu-toggle { width: 42px; height: 42px; }
  .language-button { width: 40px; height: 40px; font-size: 13px; }

  .site-brand { max-width: 238px; }
  .brand-symbol { width: 52px !important; height: 50px !important; }
  .brand-name-ar { font-size: 10.5px; }
  .brand-name-en { font-size: 8.5px; }

  .menu-drawer { width: 96vw; padding-inline: 15px; }
  .drawer-quick-actions { grid-template-columns: 1fr 1fr; }

  .home-hero-grid { min-height: 590px; padding-top: 48px; }
  .home-hero h1 { font-size: clamp(34px, 11vw, 46px); }
  .hero-kicker { font-size: 14px; }

  .section { padding: 46px 0; }
  .product-card-image { height: 205px; }
  .about-profile-card,
  .contact-panel { padding: 20px; }

  .social-media-list { grid-template-columns: 1fr; }
  .social-media-item { justify-content: flex-start; padding-inline: 16px; }
}

/* Large displays keep content readable instead of over-stretching. */
@media (min-width: 1600px) {
  .home-hero-grid { min-height: 700px; }
  .home-hero h1 { max-width: 820px; }
}

/* 2026-08 final mobile brand and factory image refinements */
.factory-visual img,
.factory-story-grid img {
  object-position: center 42%;
}

@media (max-width: 720px) {
  .site-brand.brand-lockup {
    max-width: min(250px, calc(100vw - 118px));
    gap: 6px;
    overflow: hidden;
  }
  .site-brand .brand-symbol {
    width: 48px !important;
    height: 46px !important;
  }
  .site-brand .brand-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  .site-brand .brand-name-ar {
    font-size: 10px;
    line-height: 1.15;
    white-space: nowrap;
  }
  .site-brand .brand-name-en {
    font-size: 8px;
    line-height: 1.15;
    margin-top: 2px;
    white-space: nowrap;
  }

  .drawer-head {
    align-items: flex-start;
    gap: 10px;
  }
  .drawer-brand.brand-lockup {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 52px);
    justify-content: flex-start;
    gap: 9px;
    overflow: hidden;
  }
  .drawer-brand .brand-symbol {
    width: 58px !important;
    height: 54px !important;
  }
  .drawer-brand .brand-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  .drawer-brand .brand-name-ar {
    font-size: 13px !important;
    line-height: 1.2;
    white-space: normal;
  }
  .drawer-brand .brand-name-en {
    font-size: 10px !important;
    line-height: 1.2;
    margin-top: 3px;
    white-space: normal;
  }

  .factory-visual img,
  .factory-story-grid img {
    aspect-ratio: 4 / 3;
    object-position: center 40%;
  }
}

@media (max-width: 420px) {
  .site-brand.brand-lockup {
    max-width: calc(100vw - 106px);
    gap: 4px;
  }
  .site-brand .brand-symbol {
    width: 42px !important;
    height: 40px !important;
  }
  .site-brand .brand-name-ar { font-size: 8.8px; }
  .site-brand .brand-name-en { font-size: 7.2px; }

  .drawer-brand .brand-symbol {
    width: 52px !important;
    height: 49px !important;
  }
  .drawer-brand .brand-name-ar { font-size: 11.5px !important; }
  .drawer-brand .brand-name-en { font-size: 9px !important; }
}


/* 2026-08 uncropped factory image fix */
.factory-visual img,
.factory-story-grid img {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 720px) {
  .factory-visual img,
  .factory-story-grid img {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}


/* 2026-08 owner profile sections */
.owner-section {
  overflow: hidden;
}
.owner-feature-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
}
.owner-portrait-wrap {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 32px;
  background: linear-gradient(145deg, #e9f8ff 0%, #d8eef9 50%, #ffffff 100%);
  overflow: hidden;
}
.owner-portrait-wrap::after {
  content: "";
  position: absolute;
  inset: auto 10% 0;
  height: 18%;
  background: radial-gradient(ellipse at center, rgba(3,39,70,.18), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}
.owner-portrait {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 440px);
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center bottom;
}
.owner-feature-copy h2 {
  margin: 10px 0 12px;
  color: var(--navy-900);
  font-size: clamp(34px, 5vw, 54px);
}
.owner-title {
  margin: 0;
  color: var(--ink-700);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 700;
}
@media (max-width: 820px) {
  .owner-feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .owner-portrait-wrap {
    width: min(100%, 520px);
    min-height: 0;
    margin-inline: auto;
    padding-top: 18px;
  }
  .owner-portrait {
    width: min(88%, 390px);
    max-height: none;
  }
  .owner-feature-copy .eyebrow {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .owner-portrait-wrap {
    border-radius: 24px;
  }
  .owner-portrait {
    width: 92%;
  }
  .owner-feature-copy h2 {
    font-size: 30px;
  }
  .owner-title {
    font-size: 17px;
  }
}

/* 2026-08-12 mobile owner portrait + brand lockup hard fix */
@media (max-width: 820px) {
  .owner-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .owner-portrait-wrap {
    width: min(100%, 340px) !important;
    max-width: 340px !important;
    min-height: 0 !important;
    margin-inline: auto !important;
    padding: 14px 14px 0 !important;
    border-radius: 24px !important;
  }

  .owner-portrait {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 390px !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  .owner-feature-copy {
    text-align: center !important;
  }

  /* Header brand: always fit between the menu and language buttons. */
  .site-brand.brand-lockup {
    width: 100% !important;
    max-width: 240px !important;
    min-width: 0 !important;
    gap: 6px !important;
    overflow: visible !important;
    justify-content: center !important;
  }

  .site-brand .brand-symbol {
    width: 44px !important;
    height: 42px !important;
    flex: 0 0 44px !important;
  }

  .site-brand .brand-name {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  .site-brand .brand-name-ar {
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .site-brand .brand-name-en {
    font-size: 7.6px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
    white-space: normal !important;
  }

  /* Drawer brand: compact and never overflowing. */
  .drawer-brand.brand-lockup {
    width: auto !important;
    max-width: calc(100% - 52px) !important;
    min-width: 0 !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .drawer-brand .brand-symbol {
    width: 46px !important;
    height: 44px !important;
    flex: 0 0 46px !important;
  }

  .drawer-brand .brand-name-ar {
    font-size: 11px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .drawer-brand .brand-name-en {
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
    white-space: normal !important;
  }

  /* Footer brand: this is the lockup visible in the user's mobile screenshot. */
  .footer-brand-lockup.brand-lockup {
    width: 100% !important;
    max-width: 330px !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .footer-brand-lockup .brand-symbol {
    width: 58px !important;
    height: 56px !important;
    flex: 0 0 58px !important;
  }

  .footer-brand-lockup .brand-name {
    min-width: 0 !important;
    white-space: normal !important;
  }

  .footer-brand-lockup .brand-name-ar {
    font-size: 13px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }

  .footer-brand-lockup .brand-name-en {
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin-top: 3px !important;
    white-space: normal !important;
  }
}

@media (max-width: 480px) {
  .owner-portrait-wrap {
    width: min(86vw, 280px) !important;
    max-width: 280px !important;
    padding: 10px 10px 0 !important;
    border-radius: 20px !important;
  }

  .owner-portrait {
    width: auto !important;
    max-width: 100% !important;
    max-height: 315px !important;
  }

  .owner-feature-copy h2 {
    font-size: 26px !important;
  }

  .owner-title {
    font-size: 15px !important;
  }

  .site-brand.brand-lockup {
    max-width: calc(100vw - 106px) !important;
    gap: 4px !important;
  }

  .site-brand .brand-symbol {
    width: 36px !important;
    height: 35px !important;
    flex-basis: 36px !important;
  }

  .site-brand .brand-name-ar {
    font-size: 8px !important;
  }

  .site-brand .brand-name-en {
    font-size: 6.5px !important;
  }

  .drawer-brand .brand-symbol {
    width: 42px !important;
    height: 40px !important;
    flex-basis: 42px !important;
  }

  .drawer-brand .brand-name-ar {
    font-size: 10px !important;
  }

  .drawer-brand .brand-name-en {
    font-size: 8px !important;
  }

  .footer-brand-lockup.brand-lockup {
    max-width: 290px !important;
    gap: 8px !important;
  }

  .footer-brand-lockup .brand-symbol {
    width: 50px !important;
    height: 48px !important;
    flex-basis: 50px !important;
  }

  .footer-brand-lockup .brand-name-ar {
    font-size: 11.5px !important;
  }

  .footer-brand-lockup .brand-name-en {
    font-size: 9px !important;
  }
}

@media (max-width: 360px) {
  .owner-portrait-wrap {
    width: 250px !important;
  }

  .owner-portrait {
    max-height: 285px !important;
  }

  .site-brand .brand-symbol {
    width: 32px !important;
    height: 31px !important;
    flex-basis: 32px !important;
  }

  .site-brand .brand-name-ar { font-size: 7px !important; }
  .site-brand .brand-name-en { font-size: 5.8px !important; }
}


/* 2026-08-12 owner profile compact side-by-side layout for tablets and phones */
@media (max-width: 1024px) {
  .owner-feature-grid {
    grid-template-columns: clamp(110px, 22vw, 150px) minmax(0, 1fr) !important;
    gap: clamp(14px, 3vw, 24px) !important;
    align-items: center !important;
    text-align: start !important;
  }

  .owner-portrait-wrap {
    width: 100% !important;
    max-width: 150px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px 6px 0 !important;
    border-radius: 18px !important;
    align-self: center !important;
  }

  .owner-portrait {
    width: 100% !important;
    max-width: 138px !important;
    height: auto !important;
    max-height: 205px !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  .owner-feature-copy {
    min-width: 0 !important;
    text-align: start !important;
  }

  .owner-feature-copy .eyebrow {
    justify-content: flex-start !important;
  }

  .owner-feature-copy h2 {
    margin: 6px 0 8px !important;
    font-size: clamp(22px, 4vw, 30px) !important;
    line-height: 1.2 !important;
  }

  .owner-title {
    font-size: clamp(14px, 2.6vw, 18px) !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 520px) {
  .owner-feature-grid {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 13px !important;
  }

  .owner-portrait-wrap {
    max-width: 96px !important;
    padding: 4px 4px 0 !important;
    border-radius: 15px !important;
  }

  .owner-portrait {
    max-width: 88px !important;
    max-height: 138px !important;
  }

  .owner-feature-copy h2 {
    font-size: clamp(17px, 5vw, 22px) !important;
    margin-bottom: 5px !important;
  }

  .owner-title {
    font-size: clamp(12px, 3.4vw, 15px) !important;
  }
}

@media (max-width: 360px) {
  .owner-feature-grid {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .owner-portrait-wrap {
    max-width: 82px !important;
  }

  .owner-portrait {
    max-width: 74px !important;
    max-height: 118px !important;
  }

  .owner-feature-copy h2 {
    font-size: 16px !important;
  }

  .owner-title {
    font-size: 11.5px !important;
  }
}
