/* Al Aqiq Home Page — local project styles */
html { scroll-behavior: smooth; }
body { overscroll-behavior: none; }
main > :first-child { margin-top: 0 !important; }
main > :last-child { margin-bottom: 0 !important; }
section[id] { scroll-margin-top: 6rem; }
::-webkit-scrollbar { display: none; }
.font-arabic-heading { font-family: 'Playfair Display', serif; }
    .font-arabic-body { font-family: 'Plus Jakarta Sans', sans-serif; }
    [dir="rtl"] .rtl-mirror { transform: scaleX(-1); }
    .specimen-card:hover .specimen-overlay { opacity: 1; transform: translateY(0); }
    .moodboard-pin:hover .pin-tooltip { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* Keep remote Stitch artwork visually stable while it loads. */
img { display:block; }
img[src*="googleusercontent.com"] { background:#e6e2db; }

/* Current navigation item, matching Stitch active treatment. */
[data-path].is-active { background:#ebe8e1; color:#1c1c18; font-weight:700; border-radius:.5rem; }

.home-fullbleed-hero {
  position: relative;
  isolation: isolate;
  width: 100vw;
  min-height: 80vh;
  margin-inline-start: calc(50% - 50vw);
  padding: 2.5rem max(1.5rem, calc((100vw - 80rem) / 2));
  overflow: hidden;
  color: #fff;
  background: #172019;
}

.home-hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.home-fullbleed-hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  content: "";
}

.home-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  max-width: 80rem;
  min-height: calc(80vh - 5rem);
  margin-inline: auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  color: #fff;
}

.home-hero-topline,
.home-hero-tag,
.home-hero-language,
.home-hero-actions,
.home-hero-resistance {
  display: flex;
  align-items: center;
}

.home-hero-topline {
  justify-content: space-between;
  gap: 1rem;
}

.home-hero-tag,
.home-hero-language {
  gap: 0.5rem;
}

.home-hero-tag { font-size: 0.95rem; }
.home-hero-tag-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #c65a18; }

.home-hero-language {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  color: #fff;
  cursor: pointer;
}

.home-hero-language .material-symbols-outlined,
.home-hero-actions .material-symbols-outlined,
.home-hero-resistance .material-symbols-outlined { font-size: 1.15rem; }

.home-hero-main { display: flex; align-items: center; flex: 1; }
.home-hero-copy { width: 100%; max-width: 48rem; margin-inline-end: auto; }
.home-hero-copy h1,
.home-hero-copy p { color: #fff; }
.home-hero-copy h1 { margin: 1.25rem 0 0.75rem; }
.home-hero-subtitle { margin: 0 0 0.75rem; }
.home-hero-description { max-width: 44rem; margin: 0; }

.home-hero-badges,
.home-hero-actions { flex-wrap: wrap; gap: 0.6rem; }

.home-hero-badges span {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.85rem;
}

.home-hero-actions { margin-top: 1.5rem; }
.home-hero-primary-action,
.home-hero-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
}
.home-hero-primary-action { background: #9b3f0c; color: #fff; }
.home-hero-secondary-action { background: rgba(255, 255, 255, 0.92); color: #20231f; }

.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.38);
}
.home-hero-stats div { display: flex; flex-direction: column; gap: 0.25rem; }
.home-hero-stats span { color: rgba(255, 255, 255, 0.78); font-size: 0.8rem; }
.home-hero-stats strong { color: #fff; font-size: 1.1rem; }

.home-hero-specimen {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-end;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  color: #20231f;
}
.home-hero-specimen > img { width: 3rem; height: 3rem; border-radius: 0.5rem; object-fit: cover; }
.home-hero-specimen > div:not(.home-hero-resistance) { display: flex; flex-direction: column; gap: 0.2rem; }
.home-hero-specimen strong { font-size: 0.9rem; }
.home-hero-specimen span { color: #565b55; font-size: 0.75rem; }
.home-hero-resistance { gap: 0.3rem; margin-inline-start: 0.5rem; white-space: nowrap; }

.about-fullbleed {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100vw;
  min-height: 80vh;
  margin-inline-start: calc(50% - 50vw);
  padding: 5rem max(1.5rem, calc((100vw - 80rem) / 2));
  overflow: hidden;
  color: #fff;
  background: #172019;
}

.about-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.about-fullbleed::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  content: "";
}

.about-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
}

.about-copy { max-width: 68rem; margin-inline-end: auto; }
.about-kicker { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,.82); font-size: 0.9rem; }
.about-kicker .material-symbols-outlined { font-size: 1.2rem; }
.about-copy h2 { margin: 1rem 0; color: #fff; font-family: 'Playfair Display', serif; font-size: 2.5rem; line-height: 1.2; }
.about-description { max-width: 54rem; margin: 0; color: rgba(255,255,255,.92); font-size: 1.15rem; line-height: 1.8; }

.about-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  min-height: 8rem;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 0.75rem;
  background: rgba(255,255,255,.93);
  color: #20231f;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.about-feature > .material-symbols-outlined { color: #3f5144; font-size: 1.4rem; }
.about-feature-title { color: #293a2e; font-weight: 700; }
.about-feature-description { color: #58606a; font-size: 0.9rem; line-height: 1.5; }

.about-image-caption {
  position: absolute;
  z-index: 3;
  inset-inline-end: max(1.5rem, calc((100vw - 80rem) / 2));
  inset-block-start: 1.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(0,0,0,.42);
  color: #fff;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .home-fullbleed-hero { padding: 1.5rem; }
  .home-hero-content { min-height: calc(80vh - 3rem); gap: 1.5rem; }
  .home-hero-topline { align-items: flex-start; flex-direction: column; }
  .home-hero-tag { font-size: 0.82rem; }
  .home-hero-copy h1 { font-size: 2.25rem; }
  .home-hero-stats { gap: 0.5rem; padding: 0.75rem; }
  .home-hero-stats strong { font-size: 0.95rem; }
  .home-hero-specimen { align-self: stretch; }
  .home-hero-resistance { display: none; }
  .about-fullbleed { min-height: 90vh; padding: 4rem 1.25rem; }
  .about-copy h2 { font-size: 2rem; }
  .about-description { font-size: 1rem; }
  .about-features { grid-template-columns: 1fr; }
  .about-feature { min-height: 0; }
  .about-image-caption { inset-inline-end: 1.25rem; inset-block-start: 1rem; }
}

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


.home-authorized-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 1rem;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.home-authorized-card img {
  width: 5.25rem;
  height: 5.25rem;
  object-fit: contain;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.95);
  padding: 0.25rem;
  flex-shrink: 0;
}
.home-authorized-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.home-authorized-eyebrow {
  color: rgba(255,255,255,0.82);
  font-size: 0.8rem;
}
.home-authorized-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.home-authorized-desc {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  line-height: 1.6;
}
.home-authorized-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 0.76rem;
}
.product-hpl-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #ebe8e1;
  color: #394b3e;
  font-size: 0.7rem;
  font-weight: 700;
}
@media (max-width: 640px) {
  .home-authorized-card {
    width: 100%;
    align-items: flex-start;
  }
  .home-authorized-card img {
    width: 4.5rem;
    height: 4.5rem;
  }
}
