/* Home landing surface (index.html, en/index.html).
   Loaded last, after leadgen.css, so these rules win over home/responsive/arabic.css at equal specificity.
   Holds only the styles for markup the lead-gen overhaul added or reshaped on the home pages. */

/* Placeholder slots stay hidden even where a component sets display (hero proof, footer links, owner facts). */
[hidden] {
  display: none !important;
}

/* width/height attributes give every image its box before it loads; class rules with an explicit height still win. */
img {
  height: auto;
}

.hero__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* ------------------------------------------------------------------
   Hero: offer, actions and proof on the first screen
   ------------------------------------------------------------------ */
.hero__title .hero__eyebrow {
  margin-bottom: 16px;
}

.hero__offer {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 18px;
  color: var(--gold-2);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

html[lang="ar"] .hero__offer {
  font-size: 16px;
}

.hero__offer span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero__offer span::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  background: currentColor;
  transform: rotate(45deg);
}

.hero .hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 26px;
}

.hero__actions .btn {
  min-height: 52px;
  padding: 14px 26px;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: none;
}

html[lang="ar"] .hero__actions .btn {
  font-size: 15px;
  letter-spacing: 0;
}

.hero__actions .hero__wa {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero__actions .text-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: none;
}

html[lang="ar"] .hero__actions .text-link {
  font-size: 14px;
  letter-spacing: 0;
}

/* responsive.css hides every hero text link at 460px and below; the consultation link stays. */
.hero__actions .text-link.hero__consult,
.hero__actions .text-link.hero__browse {
  display: inline-flex;
}

@media (max-width: 460px) {
  .hero__actions .text-link.hero__browse {
    display: none;
  }
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 253, 249, 0.8);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

html[lang="ar"] .hero__proof {
  font-size: 13px;
  letter-spacing: 0;
}

.hero__proof li {
  display: inline-flex;
  align-items: center;
}

/* middot after every visible item except the last (the rating slot stays hidden until real data exists) */
.hero__proof li:not([hidden]):has(~ li:not([hidden]))::after {
  content: "\00b7";
  margin-inline: 10px;
  color: var(--gold-2);
}

.hero__proof a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero .hero__status {
  margin-top: 10px;
  color: rgba(255, 253, 249, 0.8);
  font-size: 12.5px;
}

@media (min-width: 721px) {
  html[lang="en"] .hero .hero__title {
    max-width: 1200px;
    font-size: clamp(52px, 6.6vw, 104px);
    line-height: 0.95;
  }

  .hero .hero__content {
    padding-top: calc(var(--header) + 40px);
  }

  .hero .hero__sub {
    max-width: 560px;
  }
}

/* 390 x 640 phone: eyebrow, headline, offer, WhatsApp, call and callback all sit above the bottom bar. */
@media (max-width: 720px) {
  html[lang] .hero .hero__content {
    padding-top: calc(var(--header) + 4px);
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  html[lang="ar"] .hero .hero__title {
    font-size: clamp(38px, 11.4vw, 50px);
    line-height: 1.12;
  }

  html[lang="en"] .hero .hero__title {
    font-size: clamp(32px, 9.6vw, 42px);
    line-height: 1.08;
  }

  .hero__title .hero__eyebrow {
    margin-bottom: 12px;
  }

  html[lang] .hero .hero__sub {
    max-width: none;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero__offer {
    flex-direction: column;
    gap: 3px;
    margin-top: 12px;
    font-size: 14px;
  }

  html[lang="ar"] .hero__offer {
    font-size: 14.5px;
  }

  .hero .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .hero__actions .btn {
    gap: 8px;
    width: 100%;
    min-height: 50px;
    padding: 12px 8px;
  }

  .hero__actions .hero__wa {
    grid-column: 1 / -1;
  }

  .hero__actions .text-link.hero__consult {
    grid-column: 1 / -1;
    justify-self: start;
    padding-block: 6px 4px;
  }

  .hero__proof {
    margin-top: 12px;
  }

  .hero .hero__status {
    margin-top: 6px;
  }
}

@media (max-width: 420px) {
  html[lang="en"] .hero__actions .btn {
    font-size: 12.5px;
  }
}

/* Short phones: keep the offer and every action, trim the supporting copy first. */
@media (max-width: 720px) and (max-height: 660px) {
  html[lang] .hero .hero__sub {
    display: none;
  }
}

/* ------------------------------------------------------------------
   Trust strip: the warranty claim links to its terms
   ------------------------------------------------------------------ */
.trust-strip__grid a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(125, 94, 51, 0.45);
  text-underline-offset: 4px;
}

.trust-strip__grid a:hover {
  color: var(--gold-3);
}

/* ------------------------------------------------------------------
   Buyer facts: price, timeline, delivery, warranty and showroom in one block
   ------------------------------------------------------------------ */
.buyer-facts {
  background: var(--paper);
}

.buyer-facts__head {
  margin-bottom: clamp(26px, 3.2vw, 44px);
}

.buyer-facts__head .kicker {
  display: flex;
  margin-bottom: 16px;
}

.buyer-facts__head h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.6vw, 54px);
}

html[lang="ar"] .buyer-facts__head h2 {
  font-size: clamp(30px, 3.8vw, 56px);
}

.buyer-facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.buyer-facts__grid > div {
  padding: clamp(20px, 2.2vw, 30px);
  border-bottom: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.55);
}

.buyer-facts__grid dt {
  margin-bottom: 10px;
  color: var(--gold-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

html[lang="ar"] .buyer-facts__grid dt {
  font-size: 14px;
  letter-spacing: 0;
}

.buyer-facts__grid dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
}

html[lang="ar"] .buyer-facts__grid dd {
  font-size: 15px;
  line-height: 1.9;
}

.buyer-facts__grid dd + dd {
  margin-top: 8px;
}

.buyer-facts__grid dd a {
  color: var(--gold-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .buyer-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .buyer-facts__grid {
    grid-template-columns: 1fr;
  }

  .buyer-facts__grid > div {
    padding: 14px 16px 16px;
  }

  .buyer-facts__grid dt {
    margin-bottom: 4px;
  }

  html[lang] .buyer-facts__grid dd {
    font-size: 14px;
    line-height: 1.75;
  }

  .buyer-facts .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------------
   Category entry points: a compact two-column grid on phones so the rooms are reachable without a 2,400px scroll
   ------------------------------------------------------------------ */
@media (max-width: 720px) {
  #collections .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 176px;
    gap: 10px;
  }

  #collections .collection-card {
    grid-column: span 1 !important;
  }

  #collections .collection-card--dining,
  #collections .collection-card--others,
  #collections .collection-card--bespoke {
    grid-column: 1 / -1 !important;
  }

  #collections .collection-card--bespoke {
    min-height: 0;
    padding: 22px 20px;
  }

  #collections .collection-card__content {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  #collections .collection-card__content h3 {
    font-size: 22px;
  }

  #collections .collection-card__arrow {
    top: 10px;
    left: auto;
    right: auto;
    inset-inline-end: 10px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

/* ------------------------------------------------------------------
   Home FAQ (same .faq-list markup as /consultation, tighter on the home page)
   ------------------------------------------------------------------ */
.home-faq {
  background: var(--paper);
}

.home-faq .faq-item summary {
  padding: 18px 0;
  font-size: clamp(19px, 1.7vw, 24px);
}

html[lang="ar"] .home-faq .faq-item summary {
  font-size: clamp(20px, 1.8vw, 26px);
}

.home-faq .faq-item p {
  font-size: 14px;
}

html[lang="ar"] .home-faq .faq-item p {
  font-size: 15px;
}

/* ------------------------------------------------------------------
   Chair rail: the card opens the chosen chair, the button asks for its price on WhatsApp
   ------------------------------------------------------------------ */
.piece-item {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  scroll-snap-align: start;
}

.piece-item .piece-card {
  flex: 1 1 auto;
  scroll-snap-align: none;
}

.piece-item__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(216, 188, 140, 0.5);
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

html[lang="ar"] .piece-item__wa {
  font-size: 14px;
  letter-spacing: 0;
}

.piece-item__wa img {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.piece-item__wa:hover,
.piece-item__wa:focus-visible {
  border-color: var(--gold-2);
  background: var(--gold-2);
  color: var(--ink);
}

@media (max-width: 720px) {
  .piece-item {
    flex-basis: 255px;
  }
}

/* ------------------------------------------------------------------
   Interior-design film: poster first, the offer note is a link and readable
   ------------------------------------------------------------------ */
.film-section__note {
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: none;
}

html[lang="ar"] .film-section__note {
  font-size: 14px;
  letter-spacing: 0;
}

a.film-section__note {
  padding-block: 10px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

a.film-section__note:hover,
a.film-section__note:focus-visible {
  border-bottom-color: currentColor;
}

/* ------------------------------------------------------------------
   Proof slots (stay hidden until real, permissioned data is supplied)
   ------------------------------------------------------------------ */
.proof-strip {
  background: var(--paper);
}

.proof-strip .kicker {
  display: flex;
  margin-bottom: 16px;
}

.proof-strip h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.6vw, 54px);
}

.proof-strip__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: clamp(22px, 3vw, 36px);
}

html[lang] .lookbook-strip a .project-card__meta {
  position: absolute;
  left: auto;
  right: auto;
  inset-inline-start: 20px;
  bottom: 40px;
  z-index: 1;
  color: rgba(255, 253, 249, 0.82);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ------------------------------------------------------------------
   Showroom: hours and live open/closed status
   ------------------------------------------------------------------ */
.visit__hours {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

html[lang="ar"] .visit__hours {
  font-size: 14px;
}

.visit__status {
  margin-top: 8px;
}

/* ------------------------------------------------------------------
   Directions link and hours in the footer and mobile menu
   ------------------------------------------------------------------ */
.footer__contact a.footer__directions {
  display: block;
}

.footer__directions span,
.mobile-menu__foot-group p a span {
  display: block;
  margin-top: 4px;
  color: var(--gold-2);
  font-size: 12px;
}

.footer__contact .footer__hours {
  max-width: 280px;
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.85;
}

.mobile-menu__foot-group p a {
  color: inherit;
}

/* Category cards: the piece count sat on bright photos at 65% white; make it readable. */
.collection-card__content span {
  color: rgba(255, 253, 249, 0.92);
  text-shadow: 0 1px 8px rgba(8, 6, 4, 0.65);
}
