/* ============ Reset & Root ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #23352F;
  --green-dark: #172620;
  --gold: #A78358;
  --gold-light: #d9b786;
  --steel: #4D5358;
  --cream: #F4F1EB;
  --ink: #202721;
  --line: #DCD8D0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Alexandria', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, .brand-name, .hero-stat strong, .service-photo .badge strong {
  font-family: 'Noto Kufi Arabic', sans-serif;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

em { font-style: normal; color: var(--gold); }

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

/* ============ Shared bits ============ */
.section-kicker {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.7px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 14px;
}

.gold-button {
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  min-height: 45px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gold-button:hover { background: transparent; color: var(--gold); }

.outline-button {
  background: transparent;
  color: #fff;
  border: 1px solid var(--gold);
  min-height: 45px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.outline-button:hover { background: var(--gold); color: #fff; }

.arrow-link {
  color: var(--green);
  font-weight: 700;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.arrow-link i { width: 16px; height: 16px; }

.text-button {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.text-button i {
  background: var(--gold);
  border-radius: 50%;
  padding: 9px;
  width: 34px;
  height: 34px;
}

/* ============ Topline ============ */
.topline {
  background: var(--green-dark);
  height: 36px;
  display: flex;
  align-items: center;
}
.topline .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topline p { color: #b9c2ba; font-size: 11px; }
.topline .phone-link {
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
}
.topline .phone-link i { width: 14px; height: 14px; color: var(--gold); }

/* ============ Header ============ */
.site-header {
  height: 90px;
  background: var(--green);
  color: #fff;
  position: relative;
  z-index: 2;
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 25px;
  color: var(--gold);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 20px; color: #fff; }
.brand-sub { font-size: 8px; color: var(--gold); letter-spacing: 0.5px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
}
.main-nav a {
  font-size: 13px;
  color: #dfe3df;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--gold-light); }

.menu-button {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  height: calc(100vh - 126px);
  min-height: 590px;
  max-height: 820px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--green);
}
.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
  max-width: 640px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--gold-light);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-content > p {
  font-size: 14px;
  color: #d7ddd8;
  max-width: 480px;
  margin-bottom: 34px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero-stat {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 190px;
  height: 92px;
  background: var(--gold);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 22px;
  z-index: 1;
}
.hero-stat strong { font-size: 32px; line-height: 1; }
.hero-stat span { font-size: 10px; margin-top: 6px; line-height: 1.5; }

.scroll-cue {
  position: absolute;
  bottom: 34px;
  right: 48px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 10px;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.6);
  display: inline-block;
}

/* ============ Specs strip ============ */
.specs-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.spec-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}
.spec-card:first-child { border-right: none; }
.spec-card:hover { background: #f9f6ef; }
.spec-icon {
  width: 42px;
  height: 42px;
  background: var(--green);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.spec-icon i { width: 20px; height: 20px; }
.spec-text strong { display: block; font-size: 13px; margin-bottom: 4px; }
.spec-text span { font-size: 11px; color: var(--steel); }
.spec-card .spec-arrow {
  margin-right: auto;
  color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============ Intro band ============ */
.intro-band {
  background: var(--cream);
  padding: 105px 0 90px;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1.25fr 0.8fr;
  align-items: end;
  gap: 24px;
}
.intro-grid h2 {
  font-size: 27px;
  line-height: 1.4;
  color: var(--green);
}
.intro-copy {
  color: var(--steel);
  font-size: 12px;
  line-height: 2;
}

/* ============ Pallets teaser ============ */
.pallets-teaser {
  background: var(--green);
  border-top: 3px solid var(--gold);
}
.pallets-teaser .container {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  flex-shrink: 0;
}
.teaser-badge i { width: 14px; height: 14px; }
.teaser-text { flex: 1; min-width: 200px; }
.teaser-text strong { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
.teaser-text p { color: #b9c2ba; font-size: 11px; }
.teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.teaser-cta i { transition: transform 0.2s; }
.teaser-cta:hover i { transform: translateX(-4px); }

/* ============ Products ============ */
.products-section {
  background: #e8e7e1;
  padding: 75px 0 100px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
}
.section-heading h2 { font-size: 28px; color: var(--green); margin-top: 10px; }

.products-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 17px;
}
.product-card {
  position: relative;
  overflow: hidden;
  height: 360px;
  display: block;
}
.product-card.featured { height: 420px; }
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: transform 0.4s ease;
}
.product-card:hover img { transform: scale(1.05); }
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,38,32,0.85), rgba(23,38,32,0) 55%);
}
.product-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  z-index: 1;
}
.product-card h3 {
  position: absolute;
  bottom: 24px;
  left: 20px;
  color: #fff;
  font-size: 18px;
  z-index: 1;
  max-width: 75%;
}
.product-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1;
}
.product-arrow i { width: 16px; height: 16px; }

/* ============ Promise strip ============ */
.promise-strip {
  background: var(--green);
  color: #fff;
  padding: 38px 0;
}
.promise-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.promise-grid h2 {
  font-size: 22px;
  line-height: 1.4;
}
.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-right: 1px solid rgba(255,255,255,0.2);
  padding-right: 24px;
}
.promise-item:last-child { border-right: none; }
.promise-item i {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
}
.promise-item span { font-size: 12px; line-height: 1.6; color: #dfe3df; }

/* ============ Services ============ */
.services-section {
  background: var(--cream);
  padding: 115px 0;
}
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 10%;
  align-items: center;
  direction: ltr;
}
.service-photo {
  position: relative;
  height: 510px;
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7); }
.service-photo .badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: #fff;
  padding: 20px 26px;
  font-size: 13px;
  line-height: 1.6;
}
.service-photo .badge strong { display: block; font-size: 16px; }

.service-content { direction: rtl; }
.service-content h2 { font-size: 30px; color: var(--green); line-height: 1.4; margin-bottom: 20px; }
.service-content > p { color: var(--steel); font-size: 13px; line-height: 1.9; margin-bottom: 30px; }

.service-list { margin-bottom: 34px; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.service-list li:first-child { border-top: 1px solid var(--line); }
.service-list .num {
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  width: 24px;
}

/* ============ Projects ============ */
.projects-section {
  background: #e8e7e1;
  padding: 90px 0 0;
  overflow: hidden;
}
.projects-section .section-heading p {
  color: var(--steel);
  font-size: 12px;
  max-width: 360px;
  line-height: 1.8;
}
.project-marquee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.project-tile {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.project-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6); }
.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,38,32,0.75), rgba(23,38,32,0) 55%);
}
.project-tile span {
  position: absolute;
  bottom: 18px;
  right: 20px;
  color: #fff;
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 14px;
  z-index: 1;
}

/* ============ Pallets showcase ============ */
.pallets-section {
  background: var(--cream);
  padding: 110px 0;
}
.pallets-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 9%;
  align-items: center;
}
.pallets-visual {
  position: relative;
  height: 480px;
}
.pallets-visual img { width: 100%; height: 100%; object-fit: cover; }
.pallets-visual .badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font-size: 12px;
  line-height: 1.6;
}
.pallets-visual .badge i { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.pallets-visual .badge strong { display: block; color: var(--gold); font-size: 14px; }

.pallets-content h2 { font-size: 30px; color: var(--green); line-height: 1.4; margin-bottom: 20px; }
.pallets-content > p { color: var(--steel); font-size: 13px; line-height: 1.9; margin-bottom: 34px; }

.specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 34px;
}
.specs-list li { display: flex; align-items: flex-start; gap: 14px; }
.specs-list .icon-box {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.specs-list .icon-box i { width: 17px; height: 17px; }
.specs-list strong { display: block; font-size: 13px; margin-bottom: 4px; }
.specs-list span { font-size: 11px; color: var(--steel); }

/* ============ Pallets quote ============ */
.pallets-quote-section {
  background: var(--green);
  color: #fff;
  padding: 90px 0;
}
.pallets-quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 13%;
  align-items: start;
}
.pq-header h2 { font-size: 32px; line-height: 1.4; margin-bottom: 20px; }
.pq-header > p { color: #c3cbc4; font-size: 13px; line-height: 1.9; margin-bottom: 30px; }
.pq-contacts { display: flex; flex-direction: column; gap: 14px; }
.pq-contacts a {
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}
.pq-contacts i { width: 18px; height: 18px; }

.pallets-form,
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pallets-form .full-col,
.contact-form .full-col { grid-column: 1 / -1; }

.pallets-form label,
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: #c3cbc4;
}
.contact-form label { color: #dec399; }

.pallets-form input,
.pallets-form select,
.pallets-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 10px 2px;
  outline: none;
}
.pallets-form textarea {
  border: 1px solid rgba(255,255,255,0.35);
  padding: 12px;
  resize: vertical;
  min-height: 100px;
}
.pallets-form select option { color: #202721; }
.pallets-form button { margin-top: 6px; }

/* ============ Contact ============ */
.contact-section {
  background: var(--green);
  color: #fff;
  padding: 95px 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15%;
  align-items: center;
}
.contact-intro h2 { font-size: 30px; line-height: 1.4; margin-bottom: 20px; }
.contact-intro > p { color: #c3cbc4; font-size: 13px; line-height: 1.9; }

.contact-form input,
.contact-form select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 10px 2px;
  outline: none;
}
.contact-form select option { color: #202721; }
.contact-form button { margin-top: 6px; }

/* ============ Footer ============ */
.site-footer { background: var(--green-dark); }
.footer-main {
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}
.footer-brand p { font-size: 12px; color: #b9c2ba; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-social a {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social i { width: 14px; height: 14px; }

.footer-bottom {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #a7b1a9;
}

/* ============ Responsive ============ */
@media (max-width: 800px) {
  .topline p,
  .main-nav,
  .outline-button { display: none; }

  .menu-button { display: flex; }

  .site-header .container { justify-content: space-between; }

  .hero h1 { font-size: 32px; }
  .hero-content { padding-bottom: 80px; max-width: 100%; }
  .hero-stat { left: 24px; width: 150px; height: 78px; padding: 0 16px; }
  .hero-stat strong { font-size: 24px; }
  .scroll-cue { display: none; }

  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-card { border-right: none; border-bottom: 1px solid var(--line); }
  .spec-card:nth-child(odd) { border-left: 1px solid var(--line); }

  .intro-grid,
  .promise-grid,
  .contact-layout,
  .pallets-layout,
  .pallets-quote-layout,
  .services-layout { grid-template-columns: 1fr; }

  .services-layout { direction: rtl; }
  .services-layout .service-photo { margin-bottom: 40px; }

  .promise-item {
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-right: 0;
    padding-top: 20px;
  }

  .products-grid { grid-template-columns: 1fr 1fr; }
  .product-card,
  .product-card.featured { height: 280px; }

  .project-marquee { grid-template-columns: 1fr; }
  .project-tile { height: 220px; }

  .section-heading { flex-direction: column; align-items: flex-start; }

  .footer-main { flex-wrap: wrap; height: auto; padding: 35px 0; gap: 20px; }
  .footer-bottom { flex-direction: column; height: auto; gap: 8px; padding: 14px 0; text-align: center; }

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