/* ================================
   FAIR HOME PAGE
   ================================ */

/* HERO */
.fair-hero {
  position: relative;
  min-height: auto;
  display: block;
  background: #F8F8F6;
  overflow: visible;
  padding: 120px 0 80px;
}
.fair-hero-inner {
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  gap: 80px;
}
.fair-hero-left {
  flex: 1;
}
#fair-challenges {
  position: fixed;
  right: 0;
  top: 245px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: all;
  max-width: 45vw;
}
.fair-challenge {
  width: 100%;
  max-height: 50px;
  min-height: 50px;
  background: rgba(10,10,10,0.55);
  color: #FFFFFF;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  transform: translateX(60px);
  transition: 
    transform 0.3s ease, 
    opacity 0.5s ease,
    background-color 0.35s ease,
    max-height 0.4s ease,
    padding 0.3s ease;
}
.fair-challenge.visible {
  opacity: 1;
  transform: translateX(0);
}
.fair-challenge.visible:hover {
  transform: translateX(-8px);
  max-height: 200px;
  background: var(--challenge-color, rgba(10,10,10,0.85));
  padding: 12px 20px;
}
.fair-challenge-q {
  font-family: 'Barlow Condensed', sans-serif;
  font-size:clamp(1rem, 1.22vw, 1.1rem);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}
.fair-challenge-expand {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease 0.1s;
}
.fair-challenge.visible:hover .fair-challenge-expand {
  max-height: 100px;
  opacity: 1;
}
.fair-challenge-expand p {
  font-family: 'Inter', sans-serif;
  font-size:clamp(0.75rem, 0.91vw, 0.82rem);
  color: rgba(255,255,255,0.85);
  margin: 6px 0 4px 0;
  line-height: 1.4;
}
.fair-challenge-expand a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size:clamp(0.82rem, 1vw, 0.9rem);
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.fair-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.8rem);
  color: #0A0A0A;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 24px;
}
.fair-hero h1 em {
  font-style: normal;
  color: rgba(0,0,0,0.25);
}
.fair-hero p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(0,0,0,0.6);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}
.fair-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.fair-hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(19.8rem, 39.6vw, 39.6rem);
  color: rgba(0,0,0,0.04);
  z-index: 1;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}


/* STATS */
.fair-stats {
  background: #FFFFFF;
  padding: 30px 40px 10px;
  margin: 0;
}
.fair-stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, auto);
  column-gap: 200px;
  row-gap: 0;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.fair-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.fair-stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: #0A0A0A;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.fair-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size:clamp(0.78rem, 0.94vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #444444;
  line-height: 1;
}

/* FAMILIES */
.fair-families {
  background: #F8F8F6;
  padding: 60px 40px;
}
.fair-families-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.fair-families h2 {
  text-align: center;
  margin-bottom: 16px;
  color: #0A0A0A;
}
.fair-families-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.fair-family {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.fair-family:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  background: #0A0A0A;
}
.fair-family h3 {
  margin-bottom: 12px;
  color: #0A0A0A;
  transition: color 0.35s ease;
}
.fair-family:hover h3 { color: #FFFFFF; }
.fair-family:hover p { color: rgba(255,255,255,0.7); }
.fair-family:hover li a { color: rgba(255,255,255,0.8); }
.fair-family p {
  font-family: 'Inter', sans-serif;
  font-size:clamp(0.85rem, 1.06vw, 0.95rem);
  color: #444444;
  line-height: 1.7;
  margin-bottom: 20px;
  transition: color 0.35s ease;
}
.fair-family ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fair-family li {
  border-top: 1px solid #F5F5F5;
  padding: 10px 0;
}
.fair-family li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size:clamp(0.82rem, 1vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0A0A0A;
  text-decoration: none;
  transition: padding-left 0.2s ease, color 0.35s ease;
}
.fair-family li a:hover {
  padding-left: 8px;
  color: #444444;
}

/* TESTIMONIAL */
.fair-testimonial {
  background: #F8F8F6;
  padding: 100px 40px;
}
.fair-testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.fair-testimonial blockquote {
  margin: 0;
  padding: 0;
}
.fair-testimonial blockquote p {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #0A0A0A;
  line-height: 1.5;
  margin-bottom: 24px;
}
.fair-testimonial cite {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size:clamp(0.82rem, 1vw, 0.9rem);
  color: rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

/* TEAM PREVIEW */
.fair-team-preview {
  background: #FFFFFF;
  padding: 100px 40px;
  text-align: center;
}
.fair-team-preview-inner {
  max-width: 700px;
  margin: 0 auto;
}
.fair-team-preview h2 {
  margin-bottom: 16px;
  color: #0A0A0A;
}
.fair-team-preview .fair-btn-primary {
  margin-top: 20px;
}

/* CTA SECTION */
.fair-cta-section {
  background: #F8F8F6;
  padding: 100px 40px;
  text-align: center;
}
.fair-cta-section-inner {
  max-width: 700px;
  margin: 0 auto;
}
.fair-cta-section h2 {
  color: #0A0A0A;
  margin-bottom: 16px;
  line-height: 1;
}
.fair-cta-section p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: rgba(0,0,0,0.6);
  line-height: 1.7;
  margin-bottom: 0;
}


/* MISSION */
.fair-mission {
  background: #F8F8F6;
  padding: 60px 0 0;
  margin-bottom: -80px;
}
.fair-mission-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fair-mission-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  color: #0A0A0A;
  line-height: 1;
  margin: 16px 0;
}
.fair-mission-text p {
  font-family: 'Inter', sans-serif;
  color: rgba(0,0,0,0.6);
  font-size:clamp(0.9rem, 1.11vw, 1rem);
  line-height: 1.8;
}
.fair-mission-quote blockquote p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: rgba(0,0,0,0.08);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .fair-hero { padding: 100px 8px 60px; min-height: 80vh; }
  .fair-hero-inner { padding: 0; gap: 40px; }
  .fair-stats-inner { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .fair-families-grid { grid-template-columns: 1fr; gap: 24px; }
  .fair-families { padding: 60px 8px; }
  .fair-mission { padding: 60px 8px; }
  .fair-mission-inner { grid-template-columns: 1fr; gap: 40px; }
  .fair-testimonial { padding: 60px 8px; }
  .fair-team-preview { padding: 60px 8px; }
  .fair-cta-section { padding: 60px 8px; }
  h2, h3 { line-height: 1.15 !important; }
}
