/* ============================================
   Al Hilal Libya — Elevated industrial design
   Editorial · Calm · Corporate
   ============================================ */

:root {
  --navy-deep: #081A2F;
  --navy: #0D2744;
  --blue-accent: #0A74D1;
  --blue-soft: #4EB3F8;
  --surface-light: #F5F7FA;
  --surface-soft: #D9E2EA;
  --blue-950: #081A2F;
  --blue-900: #0c2340;
  --blue-800: #143a66;
  --blue-700: #1a4f9c;
  --blue-600: #2a63b5;
  --blue-100: #e7eef8;
  --blue-50: #F5F7FA;
  --red: #9b1d2e;
  --gray-50: #F5F7FA;
  --gray-100: #eceff3;
  --gray-200: #D9E2EA;
  --gray-400: #8b96a8;
  --gray-500: #5f6b7c;
  --gray-700: #2f3a48;
  --gray-800: #1a2330;
  --white: #ffffff;
  --line: rgba(12, 35, 64, 0.1);
  --header-h: 96px;
  --container: 1160px;
  --radius: 2px;
  --font-ar: "IBM Plex Sans Arabic", sans-serif;
  --font-ar-display: "El Messiri", "IBM Plex Sans Arabic", sans-serif;
  --font-en: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.4s var(--ease);
  --text-display: clamp(2.35rem, 4.2vw, 3.5rem);
  --text-h2: clamp(1.75rem, 2.8vw, 2.45rem);
  --text-body: 1.05rem;
  --text-small: 0.875rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-ar);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.8;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[dir="ltr"] body {
  font-family: var(--font-en);
  letter-spacing: -0.015em;
  line-height: 1.7;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .section-title,
html[dir="rtl"] .hero__title,
html[dir="rtl"] .nav__link,
html[dir="rtl"] .haman__row h2,
html[dir="rtl"] .cta-band__copy h2,
html[dir="rtl"] .featured__info h3,
html[dir="rtl"] .product-rail__title {
  font-family: var(--font-ar-display);
  font-weight: 600;
  letter-spacing: 0;
  word-spacing: 0.03em;
}

html[dir="rtl"] body,
html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] label,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] a,
html[dir="rtl"] .hero__sub,
html[dir="rtl"] .section-sub,
html[dir="rtl"] .section-label {
  font-family: var(--font-ar);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

/* ---------- i18n ---------- */
.t-en {
  display: none;
}

html[dir="ltr"] .t-ar {
  display: none;
}

html[dir="ltr"] .t-en {
  display: inline;
}

html[dir="ltr"] p .t-en,
html[dir="ltr"] h1 .t-en,
html[dir="ltr"] h2 .t-en,
html[dir="ltr"] h3 .t-en,
html[dir="ltr"] h4 .t-en,
html[dir="ltr"] li .t-en,
html[dir="ltr"] label .t-en,
html[dir="ltr"] .section-sub .t-en,
html[dir="ltr"] .about__lead .t-en,
html[dir="ltr"] .about__note .t-en,
html[dir="ltr"] .about__statement .t-en,
html[dir="ltr"] .about__caption .t-en,
html[dir="ltr"] .quality__lead .t-en,
html[dir="ltr"] .quality__callout .t-en,
html[dir="ltr"] .haman__row p .t-en,
html[dir="ltr"] .haman__row h2 .t-en,
html[dir="ltr"] .footer__brand p .t-en,
html[dir="ltr"] .footer__haman .t-en,
html[dir="ltr"] .factory__point .t-en,
html[dir="ltr"] .why-item p .t-en,
html[dir="ltr"] .cta-band__copy p .t-en,
html[dir="ltr"] .cta-band__copy h2 .t-en,
html[dir="ltr"] .stat__label .t-en,
html[dir="ltr"] .stat__num .t-en,
html[dir="ltr"] .cat-item__overlay h3 .t-en,
html[dir="ltr"] .cat-item__link .t-en,
html[dir="ltr"] .product-rail__title .t-en,
html[dir="ltr"] .meta-label .t-en {
  display: inline;
}
html[dir="ltr"] .featured__info p .t-en,
html[dir="ltr"] .modal__body p .t-en,
html[dir="ltr"] .map-placeholder .t-en,
html[dir="ltr"] .form-note .t-en,
html[dir="ltr"] .contact__list li .t-en {
  display: block;
}

html[dir="rtl"] .about__statement .t-ar,
html[dir="rtl"] .map-placeholder .t-ar,
html[dir="rtl"] .factory__point span.t-ar {
  display: block;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: grid;
  place-items: center;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__icon {
  width: 72px;
  margin: 0 auto 1.25rem;
  opacity: 0.95;
}

.loader__bar {
  width: 72px;
  height: 1px;
  background: var(--gray-100);
  overflow: hidden;
  margin-inline: auto;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 35%;
  background: var(--blue-700);
  animation: loadBar 1.1s ease-in-out infinite;
}

@keyframes loadBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.45rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.25s var(--ease);
  white-space: nowrap;
  background: transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--blue-800);
  color: var(--white);
  border-color: var(--blue-800);
}

.btn--primary:hover {
  background: var(--blue-900);
  border-color: var(--blue-900);
}

.btn--text {
  padding-inline: 0.15rem;
  color: inherit;
  font-weight: 600;
}

.btn--text svg {
  transition: transform var(--transition);
}

html[dir="rtl"] .btn--text svg {
  transform: scaleX(-1);
}

.btn--text:hover svg {
  transform: translateX(4px);
}

html[dir="rtl"] .btn--text:hover svg {
  transform: scaleX(-1) translateX(4px);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  padding-inline: 1.35rem;
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost svg {
  transition: transform var(--transition);
}

html[dir="rtl"] .btn--ghost svg {
  transform: scaleX(-1);
}

.btn--light {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
}

.btn--light:hover {
  background: var(--surface-light);
  border-color: var(--surface-light);
}

/* ---------- Header ---------- */
.header {
  --header-pad-y: 0;
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--header-h);
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    height 0.35s var(--ease);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header.is-scrolled {
  height: 76px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(12, 35, 64, 0.06);
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  direction: ltr;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1002;
  justify-self: start;
}

.header__logo .logo-full {
  height: 70px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  transition: height 0.35s var(--ease);
  mix-blend-mode: multiply;
}

.header.is-scrolled .header__logo .logo-full {
  height: 58px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.nav__backdrop {
  display: none;
}

.nav__top {
  display: none;
}

.nav__panel {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

html[dir="rtl"] .nav__list {
  direction: rtl;
}

html[dir="ltr"] .nav__list {
  direction: ltr;
}

.nav__list > li {
  position: relative;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--gray-700);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
  line-height: 1.2;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 1.1rem;
  height: 1.5px;
  margin-left: -0.55rem;
  background: var(--blue-700);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease);
}

.nav__link:hover {
  color: var(--blue-800);
}

.nav__link:hover::after,
.nav__link.is-active::after,
.nav__item--has-sub.is-open > .nav__trigger::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--blue-700);
  font-weight: 500;
}

.nav__chevron {
  opacity: 0.55;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
  flex-shrink: 0;
}

.nav__item--has-sub.is-open > .nav__trigger .nav__chevron,
.nav__item--has-sub:hover > .nav__trigger .nav__chevron {
  opacity: 0.9;
}

.nav__item--has-sub.is-open > .nav__trigger .nav__chevron {
  transform: rotate(180deg);
}

.nav__submenu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 210px;
  padding: 0.55rem 0;
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.06);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(12, 35, 64, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 30;
}

html[dir="rtl"] .nav__submenu {
  text-align: right;
}

html[dir="ltr"] .nav__submenu {
  text-align: left;
}

.nav__item--has-sub:hover > .nav__submenu,
.nav__item--has-sub:focus-within > .nav__submenu,
.nav__item--has-sub.is-open > .nav__submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__submenu a {
  display: block;
  padding: 0.7rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.nav__submenu a:hover {
  color: var(--blue-700);
  background: rgba(26, 79, 156, 0.04);
}

.nav__mobile-meta {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1002;
  justify-self: end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.lang-switch__sep {
  color: var(--gray-200);
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1;
  user-select: none;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--gray-500);
  padding: 0.2rem 0;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
  font-family: inherit;
}

.lang-btn:hover {
  color: var(--blue-800);
}

.lang-btn.is-active {
  color: var(--blue-700);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  z-index: 1003;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--blue-900);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .nav__link {
    padding: 0.55rem 0.65rem;
    font-size: 0.88rem;
  }

  .header__logo .logo-full {
    height: 62px;
    max-width: 210px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding: var(--header-h) 0 0;
  overflow: hidden;
  background: #eef2f6;
  color: var(--blue-900);
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__scene-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero__scene-photo--mobile {
  display: none;
}

.hero__scene-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(241, 244, 248, 0.97) 0%,
      rgba(241, 244, 248, 0.9) 28%,
      rgba(241, 244, 248, 0.35) 48%,
      rgba(241, 244, 248, 0.08) 68%,
      transparent 100%);
}

.hero__floor {
  display: none;
}

.hero__stage {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: 2.5rem 3.5rem;
  direction: ltr;
}

.hero__copy {
  max-width: 30rem;
  padding-block: 1rem;
  justify-self: start;
  position: relative;
  z-index: 2;
}

html[dir="rtl"] .hero__copy {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] .hero__copy {
  direction: ltr;
  text-align: left;
}

.hero__title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--blue-900);
  margin-bottom: 1.15rem;
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.9s var(--ease) 0.15s forwards;
}

html[dir="ltr"] .hero__title {
  letter-spacing: -0.025em;
  max-width: 14ch;
  font-family: var(--font-en);
  font-weight: 700;
}

html[dir="rtl"] .hero__title {
  max-width: 11ch;
  font-family: var(--font-ar-display);
  font-weight: 600;
  line-height: 1.4;
}

.hero__sub {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 36ch;
  margin-bottom: 1.85rem;
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.9s var(--ease) 0.28s forwards;
}

html[dir="ltr"] .hero__sub {
  max-width: 38ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.9s var(--ease) 0.4s forwards;
}

.hero .btn--primary {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: var(--white);
  min-width: 11.5rem;
  padding: 0.95rem 1.6rem;
}

.hero .btn--primary:hover {
  background: var(--blue-800);
  border-color: var(--blue-800);
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-800);
  transition: color var(--transition);
}

.hero__link svg {
  transition: transform var(--transition);
}

html[dir="rtl"] .hero__link svg {
  transform: scaleX(-1);
}

.hero__link:hover {
  color: var(--blue-900);
}

.hero__link:hover svg {
  transform: translateX(4px);
}

html[dir="rtl"] .hero__link:hover svg {
  transform: scaleX(-1) translateX(4px);
}

/* Desktop: product lives in the composed scene photo */
.hero__visual {
  position: relative;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
  animation: heroIn 1.05s var(--ease) 0.22s forwards;
}

.hero__mark,
.hero__product {
  display: none;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title,
  .hero__sub,
  .hero__actions,
  .hero__visual {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 7.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-700);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: var(--text-h2);
  font-weight: 600;
  color: var(--blue-900);
  line-height: 1.25;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}

.section-title--display {
  font-size: clamp(2rem, 3.6vw, 3rem);
  max-width: 14ch;
}

html[dir="ltr"] .section-title--display {
  max-width: 16ch;
}

.section-sub {
  color: var(--gray-500);
  max-width: 34rem;
  font-size: var(--text-body);
  font-weight: 400;
}

.section-head {
  margin-bottom: 3.75rem;
}

.section-head--start {
  text-align: start;
}

.section-head:not(.section-head--start) {
  text-align: start;
}

.meta-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

/* ---------- About ---------- */
.about {
  background: var(--white);
}

.about__editorial {
  display: grid;
  gap: 3.5rem;
}

.about__intro .section-title {
  margin-bottom: 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: start;
}

.about__img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--gray-50);
}

.about__lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 1.15rem;
  line-height: 1.75;
}

.about__copy > p:not(.about__lead):not(.about__note) {
  color: var(--gray-500);
  margin-bottom: 1.15rem;
  max-width: 38ch;
}

.about__note {
  color: var(--blue-800);
  font-weight: 500;
  margin-bottom: 2.25rem;
  padding-block: 0.85rem;
  border-block: 1px solid var(--line);
}

.about__statement {
  display: grid;
  gap: 0.35rem;
}

.about__statement strong {
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--blue-900);
  letter-spacing: -0.03em;
  line-height: 1;
}

.about__statement span {
  color: var(--gray-500);
  font-size: 0.95rem;
  max-width: 22ch;
}

/* ---------- Why ---------- */
.why {
  background: var(--gray-50);
}

.why__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.why__intro .section-sub {
  margin-top: 0.25rem;
}

.why__list {
  display: grid;
  gap: 0;
}

.why-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.why-item:first-child {
  border-top: 1px solid var(--line);
}

.why-item__num {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  padding-top: 0.2rem;
}

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: 0.35rem;
}

.why-item p {
  font-size: 0.95rem;
  color: var(--gray-500);
  max-width: 42ch;
}

/* ---------- Categories ---------- */
.categories {
  background: var(--white);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cat-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-50);
}

.cat-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.cat-item:hover img {
  transform: scale(1.04);
}

.cat-item__caption {
  padding: 1rem 0.15rem 0;
}

.cat-item__caption h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-900);
}

/* ---------- Products ---------- */
.products {
  background: var(--gray-50);
}

.featured {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.featured__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
}

.featured__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.featured:hover .featured__media img {
  transform: scale(1.03);
}

.featured__info h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.featured__info p {
  color: var(--gray-500);
  margin-bottom: 1.75rem;
  max-width: 34ch;
}

.featured__info .btn--text {
  color: var(--blue-800);
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.filter-btn {
  border: none;
  background: transparent;
  color: var(--gray-400);
  padding: 0.35rem 0;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.filter-btn::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1rem;
  height: 1.5px;
  background: var(--blue-800);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--blue-900);
}

.filter-btn.is-active::after {
  transform: scaleX(1);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 1.5rem;
}

.product-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  aspect-ratio: 1;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-inline: 0.1rem;
}

.product-card__meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-900);
  line-height: 1.35;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
  color: var(--blue-800);
  padding: 0.25rem 0;
  font-size: 0.88rem;
}

.product-card.is-wide {
  grid-column: span 2;
}

.product-card.is-wide .product-card__media {
  aspect-ratio: 16/9;
}

/* ---------- Quality ---------- */
.quality {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.quality__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.quality__lead {
  color: var(--gray-500);
  margin-bottom: 2rem;
  max-width: 38ch;
}

.quality__list {
  display: grid;
  gap: 1rem;
}

.quality__list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.98rem;
}

.quality__list li::before {
  content: "";
  width: 12px;
  height: 1px;
  margin-top: 0.75rem;
  background: var(--red);
}

.quality__visuals {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: end;
}

.quality__img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--gray-50);
}

.quality__img--a {
  aspect-ratio: 4/5;
}

.quality__img--b {
  aspect-ratio: 1;
  margin-bottom: 2rem;
}

/* ---------- Factory ---------- */
.factory__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.factory__copy > p {
  color: var(--gray-500);
  margin-bottom: 2.25rem;
  max-width: 40ch;
}

.factory__points {
  display: grid;
  gap: 1.5rem;
}

.factory__point {
  padding-inline-start: 1.15rem;
  border-inline-start: 1.5px solid var(--blue-700);
}

.factory__point strong {
  display: block;
  color: var(--blue-900);
  margin-bottom: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
}

.factory__point span {
  display: block;
  color: var(--gray-500);
  font-size: 0.92rem;
}

.factory__gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
}

.factory__img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--gray-50);
}

/* ---------- HAMAN ---------- */
.haman {
  background: var(--blue-50);
  padding-block: 5rem;
}

.haman__row {
  max-width: 48rem;
}

.haman__kicker {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-700);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.haman__row h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  color: var(--blue-900);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.haman__row p {
  color: var(--gray-500);
  max-width: 42rem;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact__logo {
  height: 72px;
  width: auto;
  margin-bottom: 2.25rem;
}

.contact__list {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact__list li {
  display: grid;
  gap: 0.25rem;
}

.contact__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__list a {
  color: var(--blue-900);
  font-weight: 500;
}

.contact__list a:hover {
  color: var(--blue-700);
}

.contact__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact__wa svg {
  transition: transform var(--transition);
}

html[dir="rtl"] .contact__wa svg {
  transform: scaleX(-1);
}

.contact__wa:hover svg {
  transform: translateX(3px);
}

html[dir="rtl"] .contact__wa:hover svg {
  transform: scaleX(-1) translateX(3px);
}

.map-placeholder {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 140px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, var(--blue-50), var(--gray-50));
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  padding: 1.5rem;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

a.map-placeholder:hover {
  border-color: var(--blue-600);
  color: var(--blue-800);
  background: var(--blue-50);
}

.contact__form {
  display: grid;
  gap: 0.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact__form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--gray-200);
  border-radius: 0;
  padding: 0.85rem 0;
  background: transparent;
  color: var(--gray-800);
  transition: border-color var(--transition);
  resize: vertical;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-bottom-color: var(--blue-700);
}

.form-note {
  margin-top: 1rem;
  color: var(--blue-800);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.footer__logo {
  height: 68px;
  width: auto;
  margin-bottom: 1.35rem;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 32ch;
}

.footer__haman {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem !important;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer__col a:hover {
  color: var(--white);
}

.social {
  display: flex;
  gap: 0.75rem;
}

.social__link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid transparent;
  transition: color var(--transition);
}

.social__link:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  font-size: 0.82rem;
}

/* ---------- Modal ---------- */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 38, 0.55);
  backdrop-filter: blur(3px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  animation: fadeUp 0.45s var(--ease);
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  color: var(--blue-900);
  line-height: 1;
}

.modal__media {
  background: var(--gray-50);
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.modal__media img {
  max-height: 320px;
  width: auto;
  object-fit: contain;
}

.modal__body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.modal__body h3 {
  font-size: 1.45rem;
  color: var(--blue-900);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.modal__body p {
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  :root {
    --header-h: 80px;
  }

  .container {
    width: min(100% - 2rem, var(--container));
  }

  .menu-toggle {
    display: flex;
  }

  .lang-switch--desktop {
    display: none;
  }

  .header__inner {
    gap: 1rem;
  }

  .header__logo .logo-full {
    height: 58px;
    max-width: 200px;
  }

  .header.is-scrolled .header__logo .logo-full {
    height: 50px;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    justify-content: stretch;
    pointer-events: none;
  }

  .nav.is-open {
    pointer-events: auto;
  }

  .nav__backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 38, 0.28);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .nav.is-open .nav__backdrop {
    opacity: 1;
    visibility: visible;
  }

  .nav__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: min(100%, 380px);
    height: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
    box-shadow: -12px 0 40px rgba(12, 35, 64, 0.12);
    transform: translateX(104%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }

  html[dir="rtl"] .nav__panel {
    transform: translateX(-104%);
    box-shadow: 12px 0 40px rgba(12, 35, 64, 0.12);
  }

  .nav.is-open .nav__panel {
    transform: translateX(0);
  }

  .nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid rgba(12, 35, 64, 0.06);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
  }

  .nav__top-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .nav__close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;
  }

  .nav__close span {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 50%;
    height: 1.5px;
    background: var(--blue-900);
  }

  .nav__close span:first-child {
    transform: rotate(45deg);
  }

  .nav__close span:last-child {
    transform: rotate(-45deg);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0 1.5rem;
    width: 100%;
  }

  .nav__list > li {
    border-bottom: 1px solid rgba(12, 35, 64, 0.05);
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    color: var(--blue-900) !important;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 1.05rem 1.5rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__submenu {
    position: static;
    left: auto;
    transform: none !important;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0.65rem;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .nav__item--has-sub.is-open > .nav__submenu {
    display: block;
  }

  .nav__submenu a {
    padding: 0.7rem 1.5rem 0.7rem 2.25rem;
    font-size: 0.98rem;
    color: var(--gray-500);
  }

  html[dir="rtl"] .nav__submenu a {
    padding: 0.7rem 2.25rem 0.7rem 1.5rem;
  }

  .nav__mobile-meta {
    display: block;
    margin-top: auto;
    padding: 1.5rem;
    border-top: 1px solid rgba(12, 35, 64, 0.06);
  }

  .nav__mobile-meta .lang-switch {
    gap: 0.55rem;
  }

  body.nav-open .menu-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .hero {
    min-height: auto;
    padding-top: var(--header-h);
  }

  .hero__scene-photo--desktop {
    display: none;
  }

  .hero__scene-photo--mobile {
    display: block;
    object-position: center;
    opacity: 0.7;
    filter: saturate(0.9) brightness(1.05);
  }

  .hero__scene-wash {
    background:
      linear-gradient(180deg,
        rgba(241, 244, 248, 0.92) 0%,
        rgba(241, 244, 248, 0.72) 42%,
        rgba(241, 244, 248, 0.35) 70%,
        rgba(226, 232, 239, 0.65) 100%);
  }

  .hero__floor {
    display: block;
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 24%;
    background: linear-gradient(180deg, transparent 0%, rgba(210, 218, 228, 0.55) 100%);
  }

  .hero__stage {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    min-height: auto;
    padding-block: 1.75rem 2.25rem;
    width: min(100% - 2rem, var(--container));
  }

  .hero__copy {
    order: 1;
    max-width: none;
  }

  .hero__visual {
    order: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 340px;
    pointer-events: none;
    position: relative;
  }

  .hero__mark,
  .hero__product {
    display: block;
  }

  .hero__mark {
    position: absolute;
    width: min(78%, 340px);
    height: auto;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -54%);
    opacity: 0.12;
    z-index: 0;
  }

  .hero__product {
    position: relative;
    z-index: 1;
    margin: 0;
    width: min(78%, 300px);
  }

  .hero__tank {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 22px 28px rgba(26, 45, 70, 0.16));
    mix-blend-mode: multiply;
  }

  .hero__title {
    max-width: none;
    font-size: clamp(1.7rem, 6.5vw, 2.25rem);
  }

  .hero__sub {
    max-width: 42ch;
    font-size: 0.92rem;
  }

  .about__grid,
  .why__layout,
  .quality__grid,
  .factory__grid,
  .contact__grid,
  .featured,
  .modal__dialog {
    grid-template-columns: 1fr;
  }

  .about__grid {
    gap: 2rem;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .product-card.is-wide {
    grid-column: span 2;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .quality__img--b {
    margin-bottom: 0;
  }

  .factory__gallery {
    grid-template-columns: 1fr;
  }

  .factory__img {
    min-height: 240px;
  }

  .section {
    padding: 5rem 0;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .section {
    padding: 4rem 0;
  }

  .hero__product {
    width: min(82%, 280px);
  }

  .hero__visual {
    min-height: 300px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  html[dir="rtl"] .hero__actions {
    align-items: flex-end;
  }

  .hero__mark {
    width: min(70%, 280px);
  }

  .cat-grid,
  .product-grid,
  .footer__grid,
  .form-row,
  .quality__visuals {
    grid-template-columns: 1fr;
  }

  .product-card.is-wide {
    grid-column: span 1;
  }

  .product-card.is-wide .product-card__media {
    aspect-ratio: 4/3;
  }

  .product-filters {
    gap: 0.35rem 1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    flex-shrink: 0;
  }

  .featured {
    gap: 1.75rem;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
  }

  .why-item {
    grid-template-columns: 2.25rem 1fr;
    gap: 0.85rem;
  }

  .modal__dialog {
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal__media {
    min-height: 220px;
  }

  .modal__body {
    padding: 1.75rem 1.35rem;
  }

  .header__logo .logo-full {
    height: 52px;
    max-width: 180px;
  }

  .header.is-scrolled .header__logo .logo-full {
    height: 46px;
  }

  .nav__panel {
    width: min(100%, 100%);
  }

  .nav__link {
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
