/* ==========================================================================
   home.css — owned by Home page (index.html). Reuses shared tokens/classes,
   adds .home-* page-scoped styles only.
   ========================================================================== */

.home-main { background: var(--gh-bg-offwhite); }

/* --- Hero --- */
.home-hero {
  background: #F3DEC9; /* warm peach hero field, matching screenshot */
  position: relative;
  overflow: hidden;
}
.home-hero__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 360px;
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
}
.home-hero__copy {
  flex: 1 1 480px;
  max-width: 560px;
  position: relative;
  z-index: 2;
}
.home-hero__title {
  font-size: 38px;
  line-height: 1.15;
  font-weight: var(--gh-weight-bold);
  color: var(--gh-text);
  margin: 0 0 12px;
}
.home-hero__subtitle {
  font-size: 18px;
  color: var(--gh-text-secondary);
  margin: 0 0 24px;
}

.home-hero__search {
  display: flex;
  align-items: stretch;
  gap: 8px;
  background: var(--gh-bg-white);
  border-radius: var(--gh-radius-pill);
  padding: 6px;
  box-shadow: var(--gh-shadow-card);
  max-width: 520px;
}
.home-hero__input {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  padding: 12px 16px;
}
.home-hero__input:focus { outline: none; box-shadow: none; }
.home-hero__cta { flex: 0 0 auto; }

/* --- Hero art --- */
.home-hero__art {
  flex: 1 1 420px;
  position: relative;
  align-self: stretch;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.home-hero__burst {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: var(--gh-orange);
  border-radius: 50%;
  z-index: 0;
}
.home-hero__img {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: var(--gh-radius-card);
  object-fit: cover;
  box-shadow: var(--gh-shadow-elevated);
}

/* --- Promo tiles --- */
.home-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.home-tile { display: flex; flex-direction: column; }
.home-tile__img {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.home-tile__img--offers {
  background: linear-gradient(135deg, #2b2b2b, #4a3b2f);
}
.home-tile__img--plus {
  background: linear-gradient(135deg, var(--gh-orange), #ffb38a);
}
.home-tile__title {
  font-size: 20px;
  font-weight: var(--gh-weight-bold);
  padding: 16px 20px 20px;
  margin: 0;
  text-align: center;
}

/* --- Secondary sign-in row --- */
.home-signin-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.home-signin-row__text {
  font-size: 16px;
  color: var(--gh-text-secondary);
  margin: 0;
}

/* --- Responsive niceties (light, not a focus per scope) --- */
@media (max-width: 880px) {
  .home-hero__inner { flex-direction: column; align-items: flex-start; }
  .home-hero__art { display: none; }
  .home-hero__title { font-size: 30px; }
  .home-tiles { grid-template-columns: 1fr; }
}
