:root {
  --accent: #af001e;
  --accent-strong: #820015;
  --accent-soft: rgba(175, 0, 30, .13);
  --bg: #0d0d0f;
  --surface: #151519;
  --surface-2: #1d1d22;
  --ink: #f5f2ef;
  --muted: #b6b1ad;
  --line: rgba(255, 255, 255, .14);
  --soft: #141417;
  --card: #19191d;
  --header-bg: rgba(11, 11, 13, .94);
  --header-ink: #fff;
  --shadow: 0 24px 70px rgba(0, 0, 0, .26);
  --shell: min(1260px, calc(100vw - 48px));
  --header-height: 126px;
  --radius: 14px;
  --font-en: "Manrope", "Aptos", "Segoe UI", Arial, sans-serif;
  --font-ar: "Noto Kufi Arabic", "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

html[data-theme="light"] {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-2: #eeeae4;
  --ink: #171719;
  --muted: #66615c;
  --line: rgba(20, 20, 20, .14);
  --soft: #eeece8;
  --card: #fff;
  --header-bg: rgba(250, 249, 247, .96);
  --header-ink: #171719;
  --shadow: 0 24px 70px rgba(26, 21, 18, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-height); background: var(--bg); }
body { width: 100%; max-width: 100%; margin: 0; overflow-x: clip; color: var(--ink); background: var(--bg); font-family: var(--font-en); font-size: 15px; line-height: 1.68; -webkit-font-smoothing: antialiased; transition: color .25s ease, background .25s ease; }
body.is-rtl { font-family: var(--font-ar); }
body.brand-light-power { --accent: #e31e2b; --accent-strong: #a31820; --accent-soft: rgba(227, 30, 43, .14); }
body.brand-smart-design { --accent: #f5d510; --accent-strong: #8e3938; --accent-soft: rgba(245, 213, 16, .16); }
body.brand-living { --accent: #df1d2b; --accent-strong: #a11b22; --accent-soft: rgba(223, 29, 43, .14); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 5vw, 5.2rem); }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.1vw, 3.35rem); }
h3 { margin-bottom: 10px; font-size: 1.18rem; }
p { color: var(--muted); }
::selection { color: #fff; background: var(--accent-strong); }
.shell { width: var(--shell); max-width: 100%; margin-inline: auto; }
main, section, .shell, .hero__content, .section-heading, .header-main > *, .about-layout > *, .quality-layout > *, .contact-layout > * { min-width: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 1000; top: 12px; inset-inline-start: 12px; transform: translateY(-160%); padding: 11px 16px; color: #fff; background: #111; }
.skip-link:focus { transform: none; }

.profile-section { min-height: calc(100svh - var(--header-height)); }
.section { position: relative; display: flex; align-items: center; padding: clamp(72px, 7vw, 110px) 0; background: var(--bg); }
.section--soft { background: var(--soft); }
.section--dark { color: #fff; background: #101013; }
.section--dark p { color: #bdb8b4; }
.eyebrow { margin-bottom: 16px; color: var(--accent); font-size: .68rem; font-weight: 900; letter-spacing: .17em; line-height: 1.25; text-transform: uppercase; }
.section-heading { max-width: 780px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-heading > p:last-child { max-width: 650px; margin-bottom: 0; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: end; gap: clamp(34px, 7vw, 95px); max-width: none; }
.section-heading--split > p { margin-bottom: 12px; }
.section-intro { font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.8; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--accent); border-radius: 999px; color: #fff; background: var(--accent-strong); cursor: pointer; font-size: .76rem; font-weight: 900; letter-spacing: .05em; line-height: 1.2; text-transform: uppercase; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.brand-smart-design .button { color: #151515; background: var(--accent); border-color: var(--accent); }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--accent); outline: 0; }
.button--ghost { border-color: rgba(255, 255, 255, .52); color: #fff; background: rgba(0, 0, 0, .18); backdrop-filter: blur(9px); }
.button--ghost:hover { color: #111; background: #fff; border-color: #fff; }

/* One adaptive header for the full website. */
.site-header { position: fixed; z-index: 100; top: 0; right: 0; left: 0; color: var(--header-ink); background: var(--header-bg); border-bottom: 1px solid var(--line); box-shadow: 0 8px 34px rgba(0, 0, 0, .08); backdrop-filter: blur(18px); }
.header-main { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand-identity { min-width: 0; display: flex; align-items: center; gap: 14px; }
.brand-identity__logo { width: 116px; height: 48px; display: grid; place-items: center; padding: 6px 9px; border-radius: 8px; background: #fff; overflow: hidden; }
.brand-identity__logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-smart-design .brand-identity__logo { width: 78px; height: 54px; }
.brand-identity__copy { min-width: 0; display: grid; line-height: 1.25; }
.brand-identity__copy b { max-width: 340px; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.brand-identity__copy small { margin-top: 3px; color: var(--muted); font-size: .62rem; letter-spacing: .03em; }
.header-controls { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.header-home, .header-contact, .control-button, .nav-toggle { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--header-ink); background: transparent; cursor: pointer; font-size: .66rem; font-weight: 900; }
.header-home:hover, .header-home:focus-visible, .header-contact:hover, .control-button:hover, .nav-toggle:hover { border-color: var(--accent); background: var(--accent-soft); outline: 0; }
.header-home span { color: var(--accent); font-size: 1rem; line-height: 1; }
.language-button { min-width: 44px; }
.nav-toggle { display: none; }
.section-nav { border-top: 1px solid var(--line); }
.section-nav__inner { min-height: 49px; display: grid; grid-template-columns: repeat(var(--nav-columns, 6), minmax(0, 1fr)); align-items: stretch; gap: 7px; padding-block: 7px; overflow: visible; }
.section-nav a { min-width: 0; min-height: 35px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 9px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); font-size: .57rem; line-height: 1.25; text-align: center; white-space: normal; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.section-nav a span { color: var(--accent); font-size: .5rem; font-weight: 900; letter-spacing: .08em; }
.section-nav a b { font-weight: 900; }
.section-nav a:hover, .section-nav a:focus-visible, .section-nav a.is-active { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); outline: 0; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; background: #09090b; }
.hero__media { position: absolute; inset: 0; background: var(--hero-image) center / cover no-repeat; filter: saturate(.92) brightness(.9); animation: heroZoom 16s ease-out both; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 4, 6, .82) 0%, rgba(5, 5, 7, .48) 52%, rgba(5, 5, 7, .2) 100%), linear-gradient(0deg, rgba(5, 5, 7, .44), transparent 58%); }
.is-rtl .hero__shade { background: linear-gradient(270deg, rgba(4, 4, 6, .82) 0%, rgba(5, 5, 7, .48) 52%, rgba(5, 5, 7, .2) 100%), linear-gradient(0deg, rgba(5, 5, 7, .44), transparent 58%); }
.hero__layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); align-items: center; gap: clamp(42px, 8vw, 110px); padding-top: calc(var(--header-height) + 48px); padding-bottom: 56px; }
.hero.is-company .hero__layout { grid-template-columns: minmax(0, 820px); justify-content: start; }
.hero__content h1 { max-width: 780px; margin-bottom: 20px; text-wrap: balance; }
.hero__lead { max-width: 650px; margin-bottom: 25px; color: #fff; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.hero__statement { max-width: 700px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .28); }
.hero__statement strong { display: block; margin-bottom: 9px; font-size: clamp(1rem, 1.35vw, 1.25rem); }
.hero__statement p { margin: 0; color: #d6d1cd; font-size: .9rem; line-height: 1.75; }
.hero__company-contact { margin-top: 22px; }
.brand-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.brand-matrix__item { min-height: 168px; display: flex; flex-direction: column; padding: 16px; border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--radius); background: rgba(13, 13, 16, .7); backdrop-filter: blur(14px); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.brand-matrix__item:hover, .brand-matrix__item:focus-visible { transform: translateY(-5px); border-color: var(--matrix-accent, var(--accent)); background: rgba(28, 28, 32, .88); outline: 0; }
.brand-matrix__item--light-power { --matrix-accent: #e31e2b; }
.brand-matrix__item--smart-design { --matrix-accent: #f5d510; }
.brand-matrix__item--living { --matrix-accent: #df1d2b; }
.brand-matrix__logo { position: relative; height: 66px; display: grid; place-items: center; margin-bottom: auto; padding: 9px; border-radius: 8px; background: #fff; overflow: hidden; }
.brand-matrix__logo img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; transition: transform .3s ease; }
.brand-matrix__item:hover img { transform: scale(1.06); }
.brand-matrix__item b { margin-top: 15px; color: #fff; font-size: .76rem; }
.brand-matrix__item small { margin-top: 3px; color: #bdb8b4; font-size: .61rem; }
@keyframes heroZoom { from { transform: scale(1.01); } to { transform: scale(1.075); } }

.about-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.about-layout > .section-heading { margin-bottom: 0; }
.founded-line { display: flex; align-items: end; gap: 18px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.founded-line strong { color: var(--accent); font-size: 3rem; letter-spacing: -.06em; line-height: .85; }
.founded-line span { color: var(--muted); }
.vision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vision-grid article { min-height: 285px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.vision-grid article:first-child { border-top: 4px solid var(--accent); }
.vision-grid small, .section-subhead span { display: block; margin-bottom: 54px; color: var(--accent); font-size: .62rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.vision-grid h3 { font-size: 1.45rem; }
.vision-grid p { margin-bottom: 0; font-size: .87rem; line-height: 1.75; }
.section-leaders { grid-column: 1 / -1; margin-top: 6px; padding-top: 28px; border-top: 1px solid var(--line); }
.section-subhead { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.section-subhead span { margin: 0; }
.section-subhead p { max-width: 550px; margin: 0; font-size: .8rem; }

.value-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.value-card { min-height: 235px; display: flex; flex-direction: column; padding: 24px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.value-card span { margin-bottom: auto; color: var(--accent); font-size: .62rem; font-weight: 900; }
.value-card h3 { margin-top: 42px; font-size: 1.05rem; }
.value-card p { margin: 0; font-size: .76rem; line-height: 1.6; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-card { min-height: 250px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card > span { margin-bottom: auto; color: var(--accent); font-size: .65rem; font-weight: 900; }
.service-card h3 { margin-top: 72px; font-size: 1.28rem; }
.service-card p { margin: 0; font-size: .8rem; }

.operation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.operation-grid.is-single { grid-template-columns: 1fr; }
.image-card { position: relative; min-height: 390px; display: flex; align-items: end; overflow: hidden; border-radius: var(--radius); color: #fff; background: #111; }
.image-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.image-card:hover > img { transform: scale(1.04); }
.image-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .9), transparent 72%); content: ""; }
.image-card > div { position: relative; z-index: 2; padding: 30px; }
.image-card h3 { color: #fff; font-size: 1.45rem; }
.image-card p { max-width: 580px; margin-bottom: 0; color: #dedad6; }
.partner-panel { display: grid; grid-template-columns: 280px 1fr; gap: 30px; margin-top: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.partner-panel__heading span { color: var(--accent); font-size: .74rem; font-weight: 900; }
.partner-panel__heading p { margin: 10px 0 0; font-size: .77rem; }
.partner-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.partner-badge { min-height: 48px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: .69rem; font-weight: 800; }
.partner-badge img { width: 50px; height: 24px; object-fit: contain; }

.quality-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(46px, 8vw, 120px); align-items: center; }
.quality-layout .section-heading { margin-bottom: 0; }
.quality-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.quality-points article { min-height: 170px; padding: 23px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.quality-points span { display: block; margin-bottom: 40px; color: var(--accent); font-size: .6rem; font-weight: 900; }
.quality-points h3 { font-size: 1rem; }
.quality-points p { margin: 0; font-size: .75rem; }
.process-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.process-grid article { min-height: 245px; padding: 24px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.process-grid span { display: block; margin-bottom: 70px; color: var(--accent); font-size: .62rem; font-weight: 900; }
.process-grid h3 { font-size: 1.04rem; }
.process-grid p { margin: 0; font-size: .76rem; }

.catalog-section { min-height: calc(100svh - var(--header-height)); display: block; padding-bottom: 100px; }
.catalog-heading { padding-top: 10px; }
.catalog-tools-wrap { position: sticky; z-index: 40; top: var(--header-height); margin-bottom: 30px; border-block: 1px solid #3d3d43; background: rgba(16, 16, 19, .97); backdrop-filter: blur(16px); }
.catalog-tools { min-height: 82px; display: grid; grid-template-columns: minmax(210px, 320px) minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.catalog-search input { width: 100%; min-height: 44px; padding: 9px 13px; border: 1px solid #4b4b52; border-radius: 999px; color: #fff; background: #1c1c20; outline: 0; }
.catalog-search input:focus { border-color: var(--accent); }
.filter-row { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row button { flex: none; min-height: 34px; padding: 7px 11px; border: 1px solid #4a4a50; border-radius: 999px; color: #bcbcc1; background: transparent; cursor: pointer; font-size: .65rem; white-space: nowrap; }
.filter-row button:hover, .filter-row button.is-active { color: #111; background: var(--accent); border-color: var(--accent); }
.result-count { color: #aaa; font-size: .65rem; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; border: 1px solid #33333a; border-radius: var(--radius); color: #19191b; background: #fff; transition: transform .28s ease, border-color .28s ease; }
.product-card:hover, .product-card.is-linked { transform: translateY(-5px); border-color: var(--accent); }
.product-card__image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f5f5f4; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.04); }
.product-card__image span { position: absolute; right: 10px; bottom: 10px; padding: 5px 8px; border-radius: 999px; color: #fff; background: rgba(0, 0, 0, .72); font-size: .56rem; }
.is-rtl .product-card__image span { right: auto; left: 10px; }
.product-card__body { min-height: 205px; display: flex; flex-direction: column; padding: 21px; }
.product-card__body small { display: block; margin-bottom: 9px; color: #8d1425; font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.product-card__body h3 { margin-bottom: 8px; font-size: 1rem; line-height: 1.35; }
.product-card__body p { margin-bottom: 17px; color: #696569; font-size: .74rem; }
.availability-link { width: 100%; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; margin-top: auto; padding: 9px 12px; border-radius: 999px; color: #fff; background: #168c4c; font-size: .72rem; font-weight: 900; }
.availability-link:hover { background: #11743f; }
.empty-state { padding: 28px; text-align: center; border: 1px solid #444; }
.load-more { margin: 32px auto 0; }

.client-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.client-cloud span { padding: 12px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .73rem; font-weight: 900; }
.portfolio-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.portfolio-grid article { position: relative; min-height: 360px; overflow: hidden; border-radius: var(--radius); background: #222; }
.portfolio-grid article:first-child { min-height: 430px; }
.portfolio-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.portfolio-grid article:hover img { transform: scale(1.04); }
.portfolio-grid article::after { position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .94)); content: ""; }
.portfolio-grid article > div { position: absolute; z-index: 2; right: 22px; bottom: 20px; left: 22px; }
.portfolio-grid small { color: var(--accent); font-size: .58rem; font-weight: 900; }
.portfolio-grid h3 { margin: 8px 0 6px; color: #fff; font-size: clamp(1.2rem, 1.8vw, 1.9rem); }
.portfolio-grid p { margin: 0; color: #d0cdca; font-size: .76rem; }

.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.people-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.person-card { min-height: 138px; display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: start; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.person-card__avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent-strong); font-size: 1rem; font-weight: 900; }
.brand-smart-design .person-card__avatar { color: #111; background: var(--accent); }
.person-card h3 { margin: 2px 0 6px; font-size: 1rem; }
.person-card__role { margin: 0 0 8px; color: var(--muted); font-size: .72rem; }
.person-card__company { display: inline-flex; padding: 4px 8px; border-radius: 999px; color: var(--ink); background: var(--accent-soft); font-size: .59rem; font-weight: 900; }
.person-card__roles { grid-column: 1 / -1; display: grid; gap: 5px; padding-top: 10px; border-top: 1px solid var(--line); }
.person-card__roles span { color: var(--muted); font-size: .62rem; }

.location-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.location-tile { min-height: 255px; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.location-tile > span { margin-bottom: 58px; color: var(--accent); font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.location-tile p { font-size: .82rem; }
.location-tile a { margin-top: auto; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 900; }
.location-tile > b { margin-top: auto; color: var(--accent); font-size: .72rem; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 18px; padding: 24px 28px; border-radius: var(--radius); color: #fff; background: #17171a; }
.contact-band strong { font-size: 1.2rem; }
.contact-band p { margin: 5px 0 0; color: #bdb8b4; }
.contact-section { min-height: calc(100svh - var(--header-height)); }
.contact-layout { display: grid; grid-template-columns: 1.25fr .8fr .85fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.contact-list { display: grid; }
.contact-list a { padding: 15px 0; border-bottom: 1px solid #34343a; }
.contact-list span { display: block; color: #77777d; font-size: .64rem; text-transform: uppercase; }
.contact-list b { font-size: .9rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 13px; font-size: .72rem; font-weight: 900; }
.social-links a { padding-bottom: 3px; border-bottom: 1px solid #55555b; }

.site-footer { padding: 0 0 24px; color: #fff; background: #101013; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid #2e2e34; color: #707076; font-size: .65rem; letter-spacing: .05em; text-transform: uppercase; }
.floating-whatsapp { position: fixed; z-index: 85; right: 20px; bottom: 20px; min-width: 128px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 999px; color: #fff; background: #168c4c; box-shadow: 0 10px 30px rgba(0, 0, 0, .26); font-size: .72rem; font-weight: 900; }
.floating-whatsapp:hover { transform: translateY(-2px); background: #11743f; }
.is-rtl .floating-whatsapp { right: auto; left: 20px; }

/* Fluid large-screen and laptop scaling. */
@media (max-width: 1280px) {
  :root { --shell: min(1180px, calc(100vw - 40px)); }
  .header-main { gap: 14px; }
  .brand-identity__logo { width: 98px; }
  .brand-identity__copy b { max-width: 230px; }
  .header-contact b { display: none; }
  .hero__layout { grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: clamp(30px, 5vw, 64px); }
  .value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .contact-layout > div:last-child { grid-column: 1 / -1; }
}

/* Compact header for small laptops and tablets: no squeezed or off-screen links. */
@media (max-width: 1180px) {
  :root { --header-height: 68px; }
  .header-main { min-height: 67px; gap: 10px; }
  .brand-identity { gap: 10px; }
  .brand-identity__logo { width: 86px; height: 42px; padding: 5px 7px; }
  .brand-smart-design .brand-identity__logo { width: 62px; height: 46px; }
  .brand-identity__copy b { max-width: 185px; font-size: .7rem; }
  .brand-identity__copy small { font-size: .57rem; }
  .header-contact { display: none; }
  .header-controls { gap: 6px; }
  .header-home, .control-button, .nav-toggle { min-width: 40px; min-height: 38px; padding: 7px 10px; }
  .nav-toggle { position: relative; display: inline-flex; padding-inline: 11px; }
  .nav-toggle > span { position: absolute; width: 11px; height: 1px; inset-inline-start: 10px; background: currentColor; transition: transform .2s ease, top .2s ease; }
  .nav-toggle > span:first-child { top: 13px; }
  .nav-toggle > span:nth-child(2) { top: 20px; }
  .nav-toggle b { padding-inline-start: 15px; font-size: .58rem; }
  .site-header.is-menu-open .nav-toggle > span:first-child { top: 17px; transform: rotate(45deg); }
  .site-header.is-menu-open .nav-toggle > span:nth-child(2) { top: 17px; transform: rotate(-45deg); }
  .section-nav { max-height: 0; overflow: hidden; border-top-color: transparent; opacity: 0; visibility: hidden; transition: max-height .24s ease, opacity .18s ease, visibility .18s ease, border-color .18s ease; }
  .site-header.is-menu-open .section-nav { max-height: calc(100dvh - 67px); overflow-y: auto; border-top-color: var(--line); opacity: 1; visibility: visible; }
  .section-nav__inner { width: 100%; min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 10px 20px 14px; }
  .section-nav a { min-height: 40px; justify-content: flex-start; padding: 8px 11px; font-size: .58rem; text-align: start; }
  .profile-section { min-height: auto; }
  .catalog-section, .contact-section { min-height: auto; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablet portrait and compact landscape. */
@media (max-width: 960px) {
  :root { --shell: min(100% - 32px, 900px); }
  body { font-size: 14px; }
  .hero { min-height: auto; }
  .hero__layout, .hero.is-company .hero__layout { min-height: 100svh; grid-template-columns: 1fr; align-content: center; gap: 30px; padding-top: calc(var(--header-height) + 42px); padding-bottom: 46px; }
  .hero__content { max-width: 760px; }
  .hero__content h1 { font-size: clamp(2.55rem, 8vw, 4.5rem); }
  .brand-matrix { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brand-matrix__item { min-height: 132px; padding: 11px; }
  .brand-matrix__logo { height: 50px; padding: 6px; }
  .brand-matrix__item b { margin-top: 10px; font-size: .62rem; }
  .brand-matrix__item small { font-size: .53rem; }
  .section { padding: clamp(58px, 8vw, 76px) 0; }
  .section-heading--split, .about-layout, .quality-layout { grid-template-columns: 1fr; gap: 26px; }
  .about-layout > .section-heading { margin-bottom: 0; }
  .vision-grid article { min-height: 220px; padding: 22px; }
  .vision-grid small { margin-bottom: 34px; }
  .operation-grid { grid-template-columns: 1fr; }
  .image-card { min-height: 330px; }
  .partner-panel { grid-template-columns: 1fr; }
  .quality-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid article:first-child { grid-column: 1 / -1; min-height: 390px; }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-layout > div:last-child { grid-column: auto; }
}

/* Phones and narrow tablets. */
@media (max-width: 680px) {
  :root { --shell: min(100% - 24px, 640px); --header-height: 61px; }
  h1 { font-size: clamp(2.25rem, 12vw, 3.45rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.8rem); }
  .header-main { min-height: 60px; gap: 5px; }
  .brand-identity { gap: 7px; }
  .brand-identity__logo { width: 68px; height: 36px; padding: 4px 6px; }
  .brand-smart-design .brand-identity__logo { width: 50px; height: 40px; }
  .brand-identity__copy { display: none; }
  .header-controls { gap: 4px; }
  .header-home, .control-button, .nav-toggle { min-width: 38px; min-height: 36px; padding: 6px 9px; }
  .header-home b, .control-button b, .nav-toggle b { display: none; }
  .nav-toggle { width: 38px; padding: 0; }
  .nav-toggle > span { inset-inline-start: 13px; }
  .language-button { min-width: 38px; padding-inline: 8px; }
  .site-header.is-menu-open .section-nav { max-height: calc(100dvh - 60px); }
  .section-nav__inner { grid-template-columns: 1fr; padding: 9px 12px 12px; }
  .section-nav a { min-height: 39px; }
  .hero__layout, .hero.is-company .hero__layout { min-height: auto; align-content: start; gap: 24px; padding-top: calc(var(--header-height) + 32px); padding-bottom: 34px; }
  .hero__lead { margin-bottom: 18px; }
  .hero__statement { padding-top: 15px; }
  .hero__statement p { font-size: .8rem; line-height: 1.65; }
  .brand-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand-matrix__item { min-height: 118px; padding: 9px; }
  .brand-matrix__logo { height: 46px; }
  .section { padding: 54px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading--split { gap: 14px; }
  .vision-grid, .service-grid, .quality-points, .value-grid, .process-grid, .portfolio-grid, .people-grid, .people-grid--compact, .location-grid { grid-template-columns: 1fr; }
  .value-grid, .process-grid { display: grid; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); overflow: visible; }
  .value-card, .process-grid article { min-height: 170px; padding: 19px; }
  .value-card h3 { margin-top: 28px; }
  .process-grid article span { margin-bottom: 38px; }
  .vision-grid article { min-height: 190px; }
  .service-card { min-height: 178px; padding: 19px; }
  .service-card h3 { margin-top: 38px; font-size: 1.05rem; }
  .image-card { min-height: 300px; }
  .image-card > div { padding: 22px; }
  .quality-points article { min-height: 140px; }
  .catalog-tools-wrap { margin-bottom: 22px; }
  .catalog-tools { min-height: 98px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-block: 8px; }
  .catalog-search { grid-column: 1 / -1; }
  .filter-row { min-width: 0; grid-column: 1; overscroll-behavior-inline: contain; }
  .result-count { grid-column: 2; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-card__body { min-height: 188px; padding: 14px; }
  .product-card__body h3 { font-size: .87rem; }
  .product-card__body p { font-size: .69rem; }
  .availability-link { min-height: 40px; font-size: .66rem; }
  .portfolio-grid article, .portfolio-grid article:first-child { grid-column: auto; min-height: 300px; }
  .person-card { min-height: 126px; grid-template-columns: 46px 1fr; gap: 12px; padding: 16px; }
  .person-card__avatar { width: 46px; height: 46px; }
  .location-tile { min-height: 190px; padding: 21px; }
  .location-tile > span { margin-bottom: 34px; }
  .contact-band { align-items: stretch; flex-direction: column; gap: 18px; padding: 21px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .floating-whatsapp { right: 12px; bottom: 12px; min-width: 0; min-height: 42px; padding: 9px 14px; }
  .is-rtl .floating-whatsapp { right: auto; left: 12px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card__image { aspect-ratio: 5 / 3; }
  .product-card__body { min-height: 176px; }
}

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