/* Consumer-experience enhancement for gulfsanitary.ae — 2026-07-24 */

.card__image {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

/* Performance/accessibility follow-up: retain the brass hierarchy at WCAG AA contrast. */
.section--sand .eyebrow {
  color: #76501c;
}

.section--sand .rfq-panel .eyebrow {
  color: #f0cc86;
}

.section--teal .market-card .card__meta,
.section--teal .market-card .text-link {
  color: #f0cc86;
}

.hero__visual {
  aspect-ratio: 3 / 2;
  min-height: 0;
}

.hero__visual img {
  height: auto;
  min-height: 0;
  object-position: center;
}

.hero__grid {
  min-height: 520px;
}

.hero__copy h1 {
  max-width: 560px;
  font-size: clamp(3rem, 5vw, 4.65rem);
}

.hero__copy .lead {
  max-width: 560px;
}

@media (width > 1020px) {
  .hero__visual {
    aspect-ratio: auto;
    height: clamp(580px, 42vw, 640px);
  }

  .hero__visual img {
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: 58% center;
  }
}

.detail-hero__image {
  aspect-ratio: 3 / 2;
}

.detail-hero__image img {
  aspect-ratio: 3 / 2;
  height: auto;
}

.scene-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(184, 139, 72, 0.14), transparent 30%),
    #f6f2e9;
}

.scene-section--light {
  background: #fff;
}

.scene-section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 34px;
}

.scene-section__head h2 {
  max-width: 760px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.scene-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scene-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(11, 54, 55, 0.08);
}

.scene-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.scene-card__body {
  padding: 18px 18px 20px;
}

.scene-card__body strong {
  display: block;
  margin-bottom: 6px;
  color: var(--teal-900);
  font-size: 1rem;
}

.scene-card__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.scene-disclaimer {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.quick-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.quick-contact p {
  margin: 5px 0 0;
}

.context-gallery {
  background: #fff;
}

.context-gallery__head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 38px;
  margin-bottom: 30px;
}

.context-gallery__head h2 {
  margin-bottom: 0;
}

.context-gallery__head .lead {
  margin-bottom: 4px;
}

.context-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.context-gallery__card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--stone-100);
  box-shadow: 0 16px 42px rgba(11, 54, 55, 0.08);
}

.context-gallery__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.context-gallery__card figcaption {
  padding: 15px 18px 17px;
  color: var(--teal-900);
  font-size: 0.86rem;
  font-weight: 800;
}

.buyer-review-panel {
  background:
    radial-gradient(circle at 92% 10%, rgba(184, 139, 72, 0.15), transparent 32%),
    var(--stone-200);
}

.buyer-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.buyer-review-card {
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.82);
  padding: 23px;
}

.buyer-review-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-900);
}

.buyer-review-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.buyer-review-note {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.faq-section .faq {
  max-width: 920px;
}

@media (width <= 980px) {
  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (width <= 720px) {
  h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.15rem);
    line-height: 0.98;
  }

  .hero {
    padding-top: 10px;
  }

  .hero__grid {
    min-height: 0;
    gap: 14px;
  }

  .hero__copy {
    padding-block: 22px 2px;
  }

  .hero__copy .lead {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero__copy .proof-strip {
    display: none;
  }

  .hero__visual,
  .hero__visual img {
    min-height: 0;
  }

  .hero__visual {
    aspect-ratio: auto;
  }

  .hero__copy h1 {
    max-width: 350px;
    font-size: clamp(2.25rem, 10.8vw, 2.85rem);
  }

  .hero__caption {
    position: static;
    border: 0;
    border-radius: 0;
    padding: 11px 14px;
    font-size: 0.7rem;
  }

  .hero__caption span:last-child {
    display: none;
  }

  .detail-hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.25rem);
  }

  .scene-section__head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }

  .scene-grid,
  .scene-grid--3 {
    grid-template-columns: 1fr;
  }

  .scene-card {
    border-radius: 15px;
  }

  .quick-contact {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .context-gallery__head {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .context-gallery__grid,
  .buyer-review-grid {
    grid-template-columns: 1fr;
  }
}
