/* ==========================================================================
   Home page — refreshed layout (loaded only by index.html)
   ========================================================================== */
.home { background: var(--h-bg); color: var(--h-ink); }

/* ---------- Section headings ---------- */
.h-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.h-kicker {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gala-green-dk); margin-bottom: .4rem;
}
.h-kicker--light { color: var(--gala-green); }
.h-title { font-family: var(--h-display); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; margin: 0; color: var(--h-ink); }
.h-title--light { color: var(--gala-white); }
.h-link { font-weight: 700; color: var(--gala-teal); white-space: nowrap; }
.h-link i { transition: transform .2s ease; }
.h-link:hover i { transform: translateX(4px); }

/* ---------- Hero ---------- */
.h-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #eef6dc 0%, #f6f8f3 100%);
  padding: 2.5rem 0 4.5rem;
}
.h-hero::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -120px; top: -160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(143,190,24,.28), rgba(143,190,24,0) 70%);
}
.h-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.h-hero__pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; border-radius: 999px; background: #fff;
  color: var(--gala-green-dk); font-size: .85rem; font-weight: 800;
  box-shadow: 0 2px 10px rgba(0,40,40,.06);
}
.h-hero__title {
  font-family: var(--h-display); font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.015em;
  margin: 1rem 0 1rem; color: var(--gala-dark);
}
.h-mark { position: relative; font-style: italic; color: var(--gala-green-dk); white-space: nowrap; }
.h-mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .22em; z-index: -1;
  background: var(--gala-green); opacity: .35; border-radius: 999px; transform: rotate(-1.5deg);
}
.h-hero__title, .h-mark { isolation: isolate; }
.h-hero__lead { font-size: 1.15rem; line-height: 1.6; color: var(--h-muted); max-width: 31rem; margin-bottom: 2rem; }
.h-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.h-btn--line { color: var(--gala-dark); border-color: rgba(0,20,20,.2); background: transparent; }
.h-btn--line:hover, .h-btn--line:focus { color: var(--gala-dark); border-color: var(--gala-dark); background: #fff; }
.h-hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; }
.h-hero__chips a {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid #dfe9cf;
  color: var(--gala-dark); font-weight: 700; font-size: .88rem;
}
.h-hero__chips i { color: var(--gala-green-dk); }
.h-hero__chips a:hover, .h-hero__chips a:focus { background: var(--gala-green); border-color: var(--gala-green); color: var(--gala-dark); }
.h-hero__chips a:hover i { color: var(--gala-dark); }

.h-hero__media { position: relative; justify-self: center; width: min(100%, 360px); }
.h-hero__media::before {
  content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border-radius: 999px 999px 28px 28px; background: var(--gala-green);
}
.h-hero__arch { position: relative; border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 24px 50px rgba(0,40,40,.18); }
.h-hero__arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-hero__float {
  position: absolute; left: -2rem; bottom: 2.5rem;
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.1rem; border-radius: 16px; background: #fff;
  box-shadow: 0 14px 30px rgba(0,40,40,.16);
}
.h-hero__float i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #eef5df; color: var(--gala-green-dk); font-size: 1.2rem; }
.h-hero__float strong { display: block; color: var(--gala-dark); font-size: .95rem; }
.h-hero__float small { color: var(--h-muted); font-size: .8rem; }

/* ---------- Quick links ---------- */
.h-quick { position: relative; margin-top: -2.75rem; z-index: 2; }
.h-quick__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--h-surface); border-radius: var(--h-radius); box-shadow: var(--h-shadow);
  padding: .5rem;
}
.h-quick__item { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: 14px; color: var(--h-ink); }
.h-quick__item + .h-quick__item { border-left: 1px solid var(--h-line); }
.h-quick__item i {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: #eef5df; color: var(--gala-green-dk); font-size: 1.2rem;
  transition: background-color .2s ease, color .2s ease;
}
.h-quick__item strong { display: block; font-size: 1rem; }
.h-quick__item small { color: var(--h-muted); font-size: .85rem; }
.h-quick__item:hover, .h-quick__item:focus { background: var(--h-bg); color: var(--h-ink); }
.h-quick__item:hover i { background: var(--gala-green); color: var(--gala-dark); }

/* ---------- Slider (rounded card variant) ---------- */
.h-slider.gala-slider { border-radius: var(--h-radius); box-shadow: var(--h-shadow); outline: none; }

/* ---------- Bento ---------- */
.h-bento {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
}
.h-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--h-radius);
  background: var(--gala-teal); color: var(--gala-white);
}
.h-card--lg { grid-column: span 2; grid-row: span 2; }
.h-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.h-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,20,20,0) 35%, rgba(0,20,20,.88) 100%);
}
.h-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.4rem; }
.h-card h3 { font-family: var(--h-display); color: var(--gala-white); font-size: 1.5rem; margin: .5rem 0 .25rem; }
.h-card--lg h3 { font-size: 2.2rem; }
.h-card p { margin: 0; color: rgba(254,254,254,.8); font-size: .95rem; max-height: 0; opacity: 0; transition: max-height .35s ease, opacity .35s ease; }
.h-card--lg p { max-height: 4rem; opacity: 1; font-size: 1.05rem; }
.h-tag { display: inline-block; padding: .25rem .65rem; border-radius: 999px; background: var(--gala-green); color: var(--gala-dark); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.h-card:hover, .h-card:focus { color: var(--gala-white); }
.h-card:hover img, .h-card:focus img { transform: scale(1.06); }
.h-card:hover p, .h-card:focus p { max-height: 4rem; opacity: 1; }

/* ---------- Community ---------- */
.h-community { background: var(--gala-teal); color: var(--gala-white); }
.h-community__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.h-community__img { border-radius: var(--h-radius); overflow: hidden; position: relative; }
.h-community__img::before {
  content: ""; position: absolute; inset: auto -12px -12px auto; width: 60%; height: 60%;
  border-radius: var(--h-radius); background: var(--gala-green); z-index: -1;
}
.h-community__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.h-community__copy p { font-size: 1.1rem; line-height: 1.65; color: rgba(254,254,254,.8); margin: 1.25rem 0 2rem; }
.h-community__links { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- News ---------- */
.h-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.h-news__item a { display: block; color: var(--h-ink); }
.h-news__img { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 1rem; background: var(--h-line); }
.h-news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.h-news__item time { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gala-green-dk); }
.h-news__item h3 { font-size: 1.2rem; line-height: 1.35; font-weight: 700; margin: .4rem 0 0; color: var(--h-ink); transition: color .2s ease; }
.h-news__item a:hover img { transform: scale(1.05); }
.h-news__item a:hover h3 { color: var(--gala-teal-mid); text-decoration: underline; text-decoration-color: var(--gala-green); text-underline-offset: 4px; }

/* ---------- Franchise CTA ---------- */
.h-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 2.5rem 3rem; border-radius: var(--h-radius);
  background: linear-gradient(110deg, var(--gala-green) 0%, #b7da4a 100%);
  color: var(--gala-dark);
}
.h-cta h2 { font-family: var(--h-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 .4rem; color: var(--gala-dark); }
.h-cta p { margin: 0; max-width: 40rem; font-size: 1.05rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .h-community__grid { grid-template-columns: 1fr; }
  .h-hero__grid { grid-template-columns: 1.2fr .8fr; }
  .h-hero__grid { gap: 3rem; }
  .h-hero__media { width: min(100%, 320px); }
  .h-quick__grid { grid-template-columns: repeat(2, 1fr); }
  .h-quick__item + .h-quick__item { border-left: 0; }
  .h-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .h-news { grid-template-columns: repeat(2, 1fr); }
  .h-cta { flex-direction: column; align-items: flex-start; padding: 2rem; }
}
@media (max-width: 639px) {
  .h-section { padding: 3rem 0; }
  .h-hero { padding: 2rem 0 4rem; }
  .h-hero__media { width: min(80%, 260px); }
  .h-hero__media::before { inset: 1rem -.75rem -.75rem 1rem; }
  .h-hero__float { left: -.5rem; bottom: 1.5rem; }
  .h-quick__grid { grid-template-columns: 1fr; }
  .h-head { flex-direction: column; align-items: flex-start; }
  .h-bento { grid-template-columns: 1fr; }
  .h-card--lg { grid-column: auto; grid-row: span 2; }
  .h-card p { max-height: 4rem; opacity: 1; }
  .h-news { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .home * { transition: none !important; }
}

/* phones: stack hero (must come after tablet rules) */
@media (max-width: 639px) {
  .h-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
}
