.hero-banner,
.mid-banner {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  margin: 22px 5vw 0;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--bg), var(--gold-soft));
}

.hero-banner img,
.mid-banner img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    var(--scrim) 0%,
    rgba(42, 30, 18, 0.34) 46%,
    rgba(42, 30, 18, 0.04) 78%
  );
}

.mid-banner img {
  height: 280px;
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 7%;
}

.wordmark {
  margin: 0 0 8px;
  font-family: "Tajawal", sans-serif;
  font-weight: 800;
  color: var(--cream);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(42, 30, 18, 0.35);
}

.hero-copy h1 {
  max-width: 18ch;
  margin: 0 0 10px;
  color: var(--cream);
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.45;
  white-space: pre-line;
  text-shadow: 0 2px 14px rgba(42, 30, 18, 0.28);
}

.hero-copy p {
  max-width: 36ch;
  margin: 0 0 18px;
  color: rgba(255, 253, 248, 0.9);
}

.hero-book {
  width: auto;
  min-width: 140px;
  border-radius: 999px;
}

#section-categories,
#section-about {
  scroll-margin-top: 96px;
}

.place-about {
  max-width: 820px;
}

.place-about p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.block {
  padding: 54px 5vw 10px;
}

.block h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 32px;
}

.home-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  position: relative;
  display: block;
  min-height: 210px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--gold-soft);
  content-visibility: auto;
  contain-intrinsic-size: auto 210px;
  scroll-margin-top: 88px;
}

.tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(transparent, var(--scrim));
}

.tile img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.tile span,
.tile i {
  z-index: 1;
}

.tile span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--cream);
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(42, 30, 18, 0.35);
}

.tile i {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: #fffdf8;
  font-style: normal;
  font-size: 22px;
}

.features,
.reviews {
  display: grid;
  gap: 18px;
}

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

.reviews {
  grid-template-columns: repeat(4, 1fr);
}

.features b,
.stars {
  color: var(--gold);
}

.features h3 {
  margin: 8px 0;
}

.reviews strong {
  display: block;
  margin: 0 0 6px;
}

.reviews .stars {
  margin: 0 0 10px;
}

.features p,
.reviews p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.features article {
  padding: 8px 4px 18px;
}

.reviews article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.gold-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.9fr auto;
  gap: 28px;
  margin-top: 36px;
  padding: 36px 5vw 20px;
  background: linear-gradient(165deg, #8d7040 0%, var(--gold-deep) 46%, #4e3b22 100%);
  color: var(--cream);
}

.gold-footer > *:not(.footer-watermark) {
  position: relative;
  z-index: 1;
}

.footer-watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 4% 6%;
  object-fit: contain;
  object-position: center;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  filter: brightness(1.35) contrast(1.05);
}

.gold-footer h2,
.gold-footer h3 {
  margin: 0 0 12px;
}

.gold-footer p,
.gold-footer a {
  color: var(--cream);
  line-height: 1.8;
}

.footer-brand p {
  margin: 0;
  max-width: 42ch;
  opacity: 0.95;
}

.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  display: block;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: none;
  opacity: 0.85;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-row > div {
  min-width: 0;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 253, 248, 0.55);
  border-radius: 10px;
  color: #fffdf8;
}

.footer-icon svg {
  width: 18px;
  height: 18px;
}

.gold-footer .inquiry-line,
.gold-footer .hours-line,
.gold-footer .social-line {
  margin: 0;
  font-size: 13px;
  opacity: 0.88;
  font-weight: 700;
}

.footer-row a,
.footer-row > div > p:last-child {
  margin: 2px 0 0;
  font-weight: 800;
}

.footer-row a {
  display: inline-block;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.gold-footer .instagram-link {
  display: inline-block;
  margin: 2px 0 0;
  color: #fffdf8;
  font-weight: 800;
  text-decoration: none;
}

.gold-footer .instagram-link:hover,
.gold-footer a:hover {
  text-decoration: none;
  opacity: 0.85;
}

.gold-footer .footer-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 14px;
}

.gold-footer .book {
  align-self: flex-end;
  width: auto;
  height: fit-content;
  background: #fffdf8;
  color: var(--gold-deep);
}

.footer-copy {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  margin: 100px 0 0;
  padding: 0;
  border: 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.02em;
}


@media (max-width: 1100px) {
  .features,
  .reviews,
  .gold-footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .home-cats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .hero-banner,
  .mid-banner {
    min-height: 0;
    margin: 12px 16px 0;
    border-radius: 18px;
  }

  .hero-banner img,
  .mid-banner img {
    height: 280px;
  }

  .hero-copy {
    padding: 22px 18px;
  }

  .hero-copy .wordmark {
    font-size: 48px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 28px;
  }

  .hero-copy p {
    max-width: none;
    font-size: 15px;
  }

  .hero-book {
    min-width: 0;
  }

  .block {
    padding: 32px 16px 8px;
  }

  .block h2 {
    font-size: 26px;
  }

  .place-about p {
    font-size: 16px;
  }

  .home-cats,
  .features,
  .reviews,
  .gold-footer {
    grid-template-columns: 1fr;
  }

  .gold-footer {
    gap: 18px;
    margin-top: 28px;
    padding: 28px 16px 24px;
  }

  .footer-copy {
    margin-top: 72px;
  }

  .gold-footer .book {
    width: 100%;
  }

  .footer-watermark {
    opacity: 0.05;
    padding: 8% 4%;
  }

  .footer-copy {
    text-align: center;
  }
}
