/* QFamily Homepage V3 — Additional Styles
   ----------------------------------------- */

/* ===================== HERO ===================== */
.qfhome-hero {
  background: var(--qf-pink);
  text-align: center;
  padding: 64px 24px 56px;
  position: relative;
}
.qfhome-wordmark {
  font-family: var(--qf-font-display);
  font-size: clamp(72px, 14vw, 160px);
  font-weight: 900;
  color: var(--qf-black);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 100%;
}
.qfhome-tagline {
  font-family: var(--qf-font-heading);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 800;
  color: var(--qf-black);
  margin-bottom: 20px;
  margin-bottom: 8px;
}
.qfhome-subtext {
  font-size: clamp(15px, 1.6vw, 18px);
  font-size: clamp(13px, 1.6vw, 13px);
  line-height: 1.6;
  color: var(--qf-black);
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: 28px;
}

/* ===================== HOME NAV (citrus bar) ===================== */
.qfhome-nav {
  background: var(--qf-citrus);
  position: sticky;
  top: 0;
  z-index: 100;
}
.qfhome-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 24px;
  max-width: var(--qf-max-width);
  margin: 0 auto;
}
.qfhome-nav__inner a {
  display: block;
  font-family: var(--qf-font-heading);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--qf-black);
  text-decoration: none;
  padding: 17px 18px;
  transition: background 0.15s;
}
.qfhome-nav__inner a:hover { background: rgba(0,0,0,0.1); }
.qfhome-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 16px;
  background: none;
  border: none;
  margin-left: auto;
}
.qfhome-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--qf-black);
  border-radius: 2px;
}

/* ===================== TILES ===================== */
.qfhome-tiles {
  background: linear-gradient(180deg, var(--qf-magenta) 0%, var(--qf-orange) 100%);
  padding: 48px 24px;
}
.qfhome-tiles__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--qf-max-width);
  margin: 0 auto;
}
.qfhome-tile {
  border: 3px solid var(--qf-citrus);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/4.68;
}
.qfhome-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qfhome-tile__label {
  position: relative; /* above the img */
  background: var(--qf-magenta);
  color: var(--qf-citrus);
  font-family: var(--qf-font-display);
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 900;
  text-align: center;
  padding: 10px 24px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  z-index: 2;
}
.qfhome-tile__desc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.92);
  color: var(--qf-black);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  padding: 10px 14px;
  z-index: 2;
}

/* ===================== FOOTER (homepage) ===================== */
.qfhome-footer {
  background: var(--qf-magenta);
  color: var(--qf-white);
  padding: 28px 24px;
}
.qfhome-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--qf-max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}
.qfhome-footer__logos {
  display: flex;
  align-items: center;
  gap: 16px;
}
.qfhome-footer__logos img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.qfhome-footer__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qfhome-footer__acknowledgement {
  font-size: 12.5px;
  line-height: 1.45;
  text-align: right;
  max-width: 420px;
}
.qfhome-footer__flags {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qfhome-footer__flags img {
  height: 24px;
  width: auto;
}

/* ===================== RESPONSIVE (HOME) ===================== */
@media (max-width: 768px) {
  .qfhome-tiles__inner { grid-template-columns: 1fr; }
  .qfhome-nav__inner { justify-content: flex-start; }
  .qfhome-nav__inner .qfhome-nav__links { display: none; flex-direction: column; width: 100%; }
  .qfhome-nav__inner .qfhome-nav__links.open { display: flex; }
  .qfhome-nav__hamburger { display: flex; }
  .qfhome-footer__inner { flex-direction: column; text-align: center; }
  .qfhome-footer__acknowledgement { text-align: center; }
}
@media (max-width: 900px) {
  .qfhome-tiles__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .qfhome-tiles__inner { grid-template-columns: 1fr; }
}
