/* Bait El-Ezz — brand foundations */
:root  {
  --navy: #08263c;
  --ink: #102e42;
  --muted: #5e6d77;
  --gold: #dab478;
  --gold-light: #f0d3a0;
  --line: #dce2e5;
  --pale: #f3f6f7;
  --white: #fff;
  --font-arabic: 'Cairo', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-latin: 'Plus Jakarta Sans', 'Cairo', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Cairo', serif;
}

*  {
  box-sizing: border-box;
}

html  {
  scroll-behavior: smooth;
  scroll-padding-top: 106px;
}

body  {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-latin);
  font-size: 16px;
  line-height: 1.7;
}

[dir="rtl"], [lang="ar"], html[lang="ar"] body {
  font-family: var(--font-arabic);
}

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

button, input, textarea, select  {
  font: inherit;
}

button, select, summary  {
  cursor: pointer;
}

button, a, input, textarea, select, summary  {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible  {
  outline: 3px solid #bd873c;
  outline-offset: 5px;
}

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

.wrap  {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}

.section  {
  padding-block: 100px;
}

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

h1, h2  {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.035em;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4,
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
[dir="rtl"] .route-stop h3, [dir="rtl"] form h3, [dir="rtl"] .brand strong {
  font-family: var(--font-arabic);
  letter-spacing: normal;
}

h1  {
  font-size: clamp(48px, 5.6vw, 80px);
  margin-bottom: 28px;
}

h1 span, h1 em, h2 span, h2 em  {
  display: block;
}

h1 em, h2 em  {
  font-weight: 400;
}

h2  {
  font-size: clamp(36px, 3.7vw, 54px);
  margin-bottom: 28px;
}

h3  {
  font-size: 23px;
  line-height: 1.35;
  font-weight: 500;
}

h4  {
  font-size: 16px;
}

p  {
  color: var(--muted);
}

.eyebrow  {
  font-size: 12px;
  letter-spacing: .17em;
  font-weight: 700;
  margin-bottom: 26px;
  text-transform: uppercase;
  color: #846331;
}

.light  {
  color: var(--gold-light);
}

.topbar  {
  background: var(--navy);
  color: #d8e0e7;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 9px 0;
}

.topbar .wrap  {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

header  {
  background: rgba(255,255,255,.98);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
}

.header-inner  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
}

.brand  {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img  {
  width: 66px;
  height: 66px;
  object-fit: contain;
  background: white;
}

.brand strong  {
  font-family: Georgia, serif;
  font-size: 22px;
  letter-spacing: .07em;
  display: block;
  line-height: 1.3;
}

.brand small  {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
}

nav  {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a  {
  font-size: 14px;
  white-space: nowrap;
}

nav a:hover, .footer-bottom a:hover  {
  color: #986b30;
}

.header-actions  {
  display: flex;
  gap: 18px;
  align-items: center;
}

select  {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 13px;
  max-width: 112px;
  padding: 8px 0;
}

.button  {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: white;
  padding: 16px 26px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}

.button:hover  {
  background: #154763;
  transform: translateY(-2px);
}

.button.gold  {
  background: var(--gold);
  color: #112d40;
}

.button.gold:hover  {
  background: var(--gold-light);
}

.button.small  {
  padding: 11px 18px;
  white-space: nowrap;
}

.button.secondary  {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.text-link  {
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.text-link:hover  {
  color: #aa773a;
}

.menu-toggle, .mobile-contact  {
  display: none;
}

/* Hero and service introduction */
.hero  {
  background: var(--navy);
  color: white;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 670px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-photo  {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('assets/port.jpg') center 54% / cover;
}

.hero::before  {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4,24,41,.95), rgba(4,24,41,.77) 45%, rgba(4,24,41,.18));
}

.hero-content  {
  padding-block: 80px 100px;
}

.hero h1  {
  max-width: 850px;
}

.hero h1 em  {
  color: var(--gold-light);
}

.hero-description  {
  color: #e0e6eb;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.85;
}

.hero-buttons  {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 36px;
}

.hero-bottom  {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff40;
  padding-block: 22px;
  color: #e0e6eb;
  font-size: 12px;
  letter-spacing: .13em;
}

.trade-strip  {
  background: var(--pale);
  border-bottom: 1px solid var(--line);
}

.trade-strip .wrap  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  gap: 24px;
}

.trade-strip strong  {
  font-weight: 500;
}

.trade-strip .wrap > div  {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--muted);
  font-size: 14px;
}

.trade-strip i  {
  width: 4px;
  height: 4px;
  background: var(--gold);
}

.about  {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
}

.about-copy  {
  padding-top: 40px;
}

.two-values  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 28px;
}

.two-values h4  {
  margin-bottom: 10px;
}

.two-values p  {
  font-size: 14px;
}

.services  {
  background: var(--pale);
}

.section-heading  {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 45px;
}

.section-heading h2  {
  margin-bottom: 0;
}

.section-heading > p  {
  max-width: 380px;
  margin-bottom: 4px;
}

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

.service-card  {
  padding: 38px 30px;
  background: white;
  border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover  {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.card-number  {
  font-family: Georgia, serif;
  font-size: 34px;
  color: #ae864a;
  display: block;
  margin-bottom: 32px;
}

.service-card h3  {
  margin-bottom: 20px;
}

.service-card h4  {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p  {
  font-size: 15px;
  margin-bottom: 30px;
}

.service-card a  {
  margin-top: auto;
}

/* Expandable, complete product catalogue */
.product-grid  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 38px;
  align-items: start;
}

.product-card  {
  border-top: 1px solid var(--line);
}

.product-card:nth-last-child(-n+2)  {
  border-bottom: 1px solid var(--line);
}

.product-card summary  {
  list-style: none;
  display: flex;
  gap: 22px;
  padding-block: 30px;
  align-items: start;
}

.product-card summary::-webkit-details-marker  {
  display: none;
}

.product-index  {
  font-family: Georgia, serif;
  color: #a88149;
  font-size: 20px;
}

.product-card h3  {
  margin-bottom: 10px;
}

.product-card p  {
  margin-bottom: 0;
  font-size: 14px;
}

.plus  {
  margin-inline-start: auto;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 300;
}

details[open] .plus  {
  transform: rotate(45deg);
}

.product-details  {
  padding: 0 22px 28px 44px;
}

.product-details ul  {
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: 14px;
}

.product-details li  {
  margin-bottom: 10px;
}

.product-note  {
  margin-top: 32px;
  font-size: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Markets */
.markets  {
  background: var(--navy);
  color: white;
  padding-block: 85px;
}

.market-layout  {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 120px;
}

.markets p:not(.eyebrow)  {
  color: #ced8df;
  max-width: 530px;
}

.markets h2 em  {
  color: var(--gold-light);
}

.market-panel  {
  border: 1px solid #ffffff35;
  padding: 35px 40px;
  background: #ffffff05;
}

.market-panel > .eyebrow  {
  color: var(--gold-light);
  display: block;
  margin-bottom: 25px;
}

.route-stop  {
  border-inline-start: 2px solid var(--gold);
  padding-inline-start: 25px;
}

.route-stop h3  {
  margin-bottom: 5px;
  font-family: Georgia, serif;
  font-size: 30px;
}

.route-stop p  {
  font-size: 14px;
  margin: 0;
}

.route-line  {
  height: 40px;
  border-inline-start: 1px dashed #ffffff55;
}

.transport-tags  {
  display: flex;
  gap: 25px;
  margin-top: 30px;
  border-top: 1px solid #ffffff25;
  padding-top: 20px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold-light);
}

/* Gallery and quality */
.gallery-grid  {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.gallery-item  {
  display: block;
  padding: 0;
  border: 0;
  background: var(--navy);
  color: white;
  text-align: start;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(8, 38, 60, 0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-item:hover  {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(8, 38, 60, 0.18);
}

.gallery-item img  {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img  {
  transform: scale(1.06);
}

.gallery-item > span  {
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(transparent, #001c30ed);
  padding: 45px 18px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

[dir="rtl"] .gallery-item > span  {
  font-family: var(--font-arabic);
}
  align-items: center;
  font-size: 15px;
}

.gallery-item b  {
  font-size: 22px;
}

.quality  {
  background: var(--pale);
}

.quality-grid  {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 48px;
  margin-top: 50px;
}

.quality-grid article  {
  border-top: 1px solid #c7cfd3;
  padding-top: 25px;
}

.quality-grid .card-number  {
  font-size: 24px;
  margin-bottom: 20px;
}

.quality-grid p  {
  font-size: 15px;
  margin-bottom: 0;
}

/* Enquiries */
.contact  {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
}

.contact > div > p  {
  max-width: 400px;
}

.contact-detail  {
  margin-top: 34px;
  max-width: 380px;
}

.contact-detail h4  {
  font-size: 12px;
  letter-spacing: .14em;
  color: #846331;
  margin-bottom: 10px;
}

.contact-detail p  {
  margin: 0;
  font-size: 15px;
}

.phone  {
  font-size: 24px;
  display: inline-block;
  font-family: Georgia, serif;
}

form  {
  background: var(--pale);
  padding: 38px;
  border-top: 3px solid var(--gold);
}

form h3  {
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 29px;
}

form label  {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
}

.form-grid  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

input, textarea  {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  color: var(--ink);
  background: white;
  border: 1px solid #cad3d8;
  border-radius: 0;
}

textarea  {
  resize: vertical;
}

input[type="file"]  {
  background: transparent;
  font-size: 12px;
  padding: 10px;
}

.form-note  {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.full  {
  width: 100%;
  margin-bottom: 12px;
}

#form-status  {
  font-size: 14px;
  margin-bottom: 0;
}

footer  {
  background: var(--navy);
  color: white;
  padding-block: 45px 20px;
}

.footer-top  {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 40px;
}

.footer-brand img  {
  border-radius: 2px;
}

.footer-top p  {
  margin: 0;
  color: #d1dbe2;
  font-family: Georgia, serif;
  font-size: 22px;
}

.footer-bottom  {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff30;
  padding-top: 24px;
  font-size: 12px;
  color: #d1dbe2;
  padding-bottom: 35px;
}

.footer-bottom a  {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.floating-wa  {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 22px;
  z-index: 20;
  background: #0b684c;
  color: white;
  border: 1px solid #ffffff80;
  border-radius: 40px;
  box-shadow: 0 4px 20px #001c3025;
  padding: 12px 20px;
  font-size: 14px;
}

dialog  {
  border: 0;
  padding: 30px;
  max-width: min(900px,90vw);
  color: var(--ink);
}

dialog::backdrop  {
  background: #031a2beb;
}

#lightbox  {
  background: var(--navy);
  color: white;
  padding: 18px;
}

#lightbox img  {
  max-height: 72vh;
  object-fit: contain;
  margin: auto;
}

#lightbox p  {
  color: white;
  margin: 12px 0 0;
}

.lightbox-toolbar  {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.lightbox-toolbar button  {
  background: transparent;
  color: white;
  border: 1px solid #ffffff70;
  width: 44px;
  height: 44px;
  font-size: 24px;
}

#close-lightbox  {
  margin-inline-start: auto;
}

#translation-dialog  {
  max-width: 520px;
}

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

.skip  {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px;
  background: white;
}

.skip:focus  {
  top: 10px;
}

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

[hidden]  {
  display: none !important;
}

.noscript  {
  padding: 20px;
  background: #fff3d5;
}

@keyframes enter  {
  from  {
    opacity: 0;
    transform: translateY(18px);
  }

  to  {
    opacity: 1;
    transform: none;
  }

}

.hero-content  {
  animation: enter .8s ease both;
}

/* Arabic uses a natural reading rhythm without Latin tracking. */
[dir="rtl"]  {
  font-family: Tahoma, Arial, sans-serif;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .brand strong  {
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}

[dir="rtl"] h1 em, [dir="rtl"] h2 em  {
  font-style: normal;
}

[dir="rtl"] .eyebrow, [dir="rtl"] .hero-bottom, [dir="rtl"] .brand small, [dir="rtl"] .contact-detail h4  {
  letter-spacing: 0;
}

[dir="rtl"] .hero::before  {
  background: linear-gradient(270deg,rgba(4,24,41,.95),rgba(4,24,41,.77) 45%,rgba(4,24,41,.18));
}

[dir="rtl"] .hero h1  {
  font-size: clamp(42px,4.5vw,64px);
}

[dir="rtl"] .product-details  {
  padding: 0 44px 28px 22px;
}

@media (min-width: 1600px)  {
  .hero  {
    min-height: 730px;
  }

}

@media (max-width: 1180px)  {
  .wrap  {
    width: calc(100% - 64px);
  }

  .header-inner  {
    gap: 20px;
  }

  nav  {
    gap: 18px;
  }

  .desktop-contact  {
    display: none;
  }

  .about, .contact  {
    gap: 55px;
  }

  .market-layout  {
    gap: 60px;
  }

  .brand strong  {
    font-size: 20px;
  }

}

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

  .brand img  {
    width: 54px;
    height: 54px;
  }

  .topbar .wrap > span:last-child  {
    display: none;
  }

  nav  {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 24px 32px;
    box-shadow: 0 12px 18px #001c3010;
  }

  nav.open  {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  nav a  {
    padding: 6px 0;
    font-size: 16px;
  }

  .mobile-contact  {
    display: block;
  }

  .menu-toggle  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: white;
    padding: 10px;
  }

  .menu-toggle span  {
    height: 1px;
    background: var(--navy);
    width: 100%;
  }

  .section  {
    padding-block: 70px;
  }

  .service-grid  {
    gap: 14px;
  }

  .service-card  {
    padding: 25px 20px;
  }

  .service-card h3  {
    font-size: 20px;
  }

  .about  {
    gap: 35px;
  }

  .about-copy  {
    padding-top: 15px;
  }

  .two-values  {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-heading  {
    gap: 35px;
  }

  .section-heading > p  {
    max-width: 300px;
    font-size: 14px;
  }

  .market-layout  {
    gap: 40px;
  }

  .market-panel  {
    padding: 26px;
  }

  .gallery-item img  {
    height: 270px;
  }

  .gallery-grid  {
    gap: 14px;
  }

  .quality-grid  {
    gap: 24px;
  }

  .quality-grid h3  {
    font-size: 20px;
  }

  .contact  {
    gap: 35px;
    grid-template-columns: .85fr 1.15fr;
  }

  form  {
    padding: 25px;
  }

  .form-grid  {
    grid-template-columns: 1fr;
  }

  .footer-top p  {
    max-width: 220px;
    font-size: 20px;
  }

}

@media (max-width: 640px)  {
  .wrap  {
    width: calc(100% - 40px);
  }

  .brand  {
    gap: 7px;
  }

  .brand strong  {
    font-size: 16px;
  }

  .brand small  {
    font-size: 8px;
  }

  .brand img  {
    width: 47px;
    height: 47px;
  }

  .header-actions  {
    gap: 8px;
  }

  select  {
    width: 78px;
    font-size: 12px;
  }

  h1  {
    font-size: 45px;
    line-height: 1.15;
  }

  h2  {
    font-size: 35px;
  }

  .hero  {
    min-height: 640px;
  }

  .hero-content  {
    padding-block: 60px 65px;
  }

  .hero::before  {
    background: linear-gradient(90deg,#041829e8,#041829b0);
  }

  .hero-description  {
    font-size: 16px;
  }

  .hero-buttons  {
    align-items: start;
    flex-direction: column;
    gap: 23px;
    margin-top: 28px;
  }

  .hero-bottom  {
    flex-direction: column;
    gap: 5px;
    font-size: 10px;
  }

  .trade-strip .wrap  {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .trade-strip .wrap > div  {
    gap: 17px;
    font-size: 12px;
  }

  .trade-strip strong  {
    font-size: 15px;
  }

  .section  {
    padding-block: 58px;
  }

  .about, .market-layout, .contact  {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about h2  {
    margin-bottom: 0;
  }

  .two-values  {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .section-heading  {
    display: block;
    margin-bottom: 30px;
  }

  .section-heading > a, .section-heading > p  {
    display: block;
    margin-top: 24px;
    max-width: none;
  }

  .service-grid, .product-grid, .quality-grid  {
    grid-template-columns: 1fr;
  }

  .service-card  {
    padding: 28px;
  }

  .service-card .card-number  {
    margin-bottom: 18px;
  }

  .product-card:nth-last-child(2)  {
    border-bottom: 0;
  }

  .product-card summary  {
    gap: 18px;
  }

  .markets  {
    padding-block: 60px;
  }

  .market-panel  {
    margin-top: 20px;
  }

  .gallery-grid  {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .gallery-item img  {
    height: 220px;
  }

  .gallery-item > span  {
    padding: 35px 12px 14px;
    gap: 6px;
    font-size: 13px;
  }

  .quality-grid  {
    gap: 30px;
    margin-top: 32px;
  }

  .contact form  {
    margin-top: 20px;
    padding: 25px 20px;
  }

  .footer-top  {
    flex-wrap: wrap;
    gap: 25px;
  }

  .footer-top p  {
    order: 3;
    max-width: none;
    width: 100%;
  }

  .footer-bottom  {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 65px;
  }

  .floating-wa  {
    font-size: 12px;
    padding: 10px 16px;
    bottom: 16px;
    inset-inline-end: 16px;
  }

  .eyebrow  {
    margin-bottom: 20px;
  }

  [dir="rtl"] .hero h1  {
    font-size: 38px;
  }

  [dir="rtl"] h2  {
    font-size: 32px;
  }

}

@media (prefers-reduced-motion: reduce)  {
  html  {
    scroll-behavior: auto;
  }

  *, *::before, *::after  {
    animation: none !important;
    transition: none !important;
  }

}
