/* ============================================================
   CxC 2026 – CoffeeXCocktail Championship
   Brand: Swa Artisanal Syrups
   ============================================================ */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* Roca – place licensed .woff2 files in assets/fonts/ */
@font-face {
  font-family: 'Roca';
  src: url('../assets/fonts/roca.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roca';
  src: url('../assets/fonts/roca.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- TOKENS --- */
:root {
  --olive:       #59751d;
  --olive-dark:  #3d5214;
  --sand:        #c8a96e;
  --paper:       #f8f4ec;
  --warm-white:  #faf7f2;
  --pink:        #f0567a;
  --ink:         #1c1c1c;
  --ink-light:   #4a4a4a;
  --border:      rgba(89,117,29,0.15);

  --font-head: 'Roca', Georgia, serif;
  --font-body: 'Poppins', sans-serif;

  --nav-h: 90px;
  --hero-h: 100vh;

  --radius: 12px;
  --section-pad: 96px;
  --container: 1180px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* --- UTILITY --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: var(--section-pad) 0; }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  background: rgba(89,117,29,0.1);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--ink-light);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s, box-shadow 0.35s;
}

#nav.scrolled .nav-links a:focus,
#nav.scrolled .nav-links a:active {
  color: var(--ink);
}


#nav.scrolled {
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  width: 100%;
  margin: 0 2%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
/* Swa logo – left */
.nav-brand img {
  height: 60px;
  filter: brightness(0) invert(1);
  transition: filter 0.35s;
}

.nav-brand {
  align-self: center;
  height: 60px;
  width: fit-content;
}

#nav.scrolled .nav-brand img {
  filter: brightness(0);
}

/* CxC logo – center */
.nav-logo {
  display: flex;
  justify-content: center;
}
.nav-logo img {
  height: 52px;
  width: auto;
  transition: height 0.3s;
}
#nav.scrolled .nav-logo img { height: 40px; }

.cxc-logo-float {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  transition: top 0.45s cubic-bezier(0.4,0,0.2,1), width 0.45s cubic-bezier(0.4,0,0.2,1);
  top: 70px;
  width: 200px;
  pointer-events: none;
}
.cxc-logo-float.sticky {
  top: 0px;
  height: 90px;
  width:auto;
}

/* Nav links – right */
.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
  margin-left: auto;  
  list-style: none;
  justify-self: end;
  position: relative;
  z-index: 10;
  margin-top: 50px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
#nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--pink); }
.nav-cta {
  background: var(--pink) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: #d4415e !important; transform: translateY(-1px); }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;  
  padding: 4px;
  margin-bottom: 12px;
}
.nav-hamburger span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.3s;
}
#nav.scrolled .nav-hamburger span { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  height: var(--hero-h);
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/CXC_2026.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero-content h4 (
  font-family: var(--font-head);
)
#hero.loaded .hero-bg { transform: scale(1); }

/* dark overlay only at top/bottom for text legibility */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.42) 0%,
    rgba(0,0,0,0.10) 45%,
    rgba(0,0,0,0.10) 55%,
    rgba(0,0,0,0.48) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 220px 24px 0px;
  max-width: 860px;
  font-family: Roca;

}

/* CxC logo animates UP from centre into nav */
.hero-logo {
  width: 140px;
  margin: 0 auto 28px;
  opacity: 1;
  transition: opacity 0.4s;
}
.hero-logo.hidden { opacity: 0; }

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title em {
  font-style: italic;
  color: var(--sand);
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
}
.hero-badge.free {
  background: var(--pink);
  border-color: var(--pink);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 40px;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(240,86,122,0.4);
  margin-top:150px;
}
.hero-cta:hover {
  background: #d4415e;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(240,86,122,0.5);
}
.hero-dates {
  margin-top: 28px;
  font-size: 13px;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

/* ============================================================
   STATS BAND
   ============================================================ */
#stats {
  background: var(--olive);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  color: #fff;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--sand);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--warm-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-title { margin-bottom: 20px; }
.about-text p {
  color: var(--ink-light);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.about-pill {
  border: 1.5px solid var(--olive);
  color: var(--olive);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
}
.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 13px;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--paper);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 13px;
  border: 1.5px dashed var(--border);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how { background: var(--paper); }
.how-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.how-header .section-sub { margin: 0 auto; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.how-step {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.how-step:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); transform: translateY(-3px); }
.step-num {
  width: 40px; height: 40px;
  background: var(--olive);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.how-step h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.how-step p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
}
.how-step .free-flag {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
}

/* ============================================================
   IMPORTANT DATES
   ============================================================ */
#dates { background: var(--warm-white); }
.dates-header { text-align: center; margin-bottom: 56px; }
.dates-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.dates-timeline::before {
  content: '';
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.date-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}
.date-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--warm-white);
  border: 3px solid var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--olive);
}
.date-item.highlight .date-dot {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
.date-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 6px;
}
.date-item.highlight .date-label { color: var(--pink); }
.date-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.date-sub {
  font-size: 12px;
  color: var(--ink-light);
}

/* ============================================================
   SCHEDULE (HEATS + FINALE)
   ============================================================ */
#schedule { background: var(--paper); }
.schedule-header { text-align: center; margin-bottom: 56px; }
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.schedule-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.schedule-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.schedule-card-head {
  padding: 20px 24px 16px;
  background: var(--olive);
  color: #fff;
}
.schedule-card-head .card-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 6px;
}
.schedule-card-head h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
}
.schedule-card-body { padding: 24px; }
.schedule-card-body p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: 8px;
}
.schedule-card-body p:last-child { margin-bottom: 0; }
.schedule-card-body strong { color: var(--ink); font-weight: 600; }

.schedule-finale {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.finale-left .card-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 10px;
}
.finale-left h3 {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.finale-left p { color: rgba(255,255,255,0.6); font-size: 15px; }
.finale-right {
  text-align: right;
}
.finale-date {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
}
.finale-location {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-top: 4px;
}

/* ============================================================
   PRIZES
   ============================================================ */
#prizes { background: var(--warm-white); }
.prizes-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.prize-hero {
  background: linear-gradient(135deg, var(--olive), var(--olive-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 64px 48px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.prize-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.prize-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
}
.prize-amount {
  font-family: var(--font-head);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1;
  color: var(--sand);
  margin-bottom: 16px;
}
.prize-desc {
  font-size: 17px;
  opacity: 0.85;
  max-width: 400px;
  margin: 0 auto;
}
.prize-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.prize-perk {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px 20px;
  border: 1px solid var(--border);
}
.perk-icon { font-size: 28px; margin-bottom: 12px; }
.perk-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.perk-desc { font-size: 13px; color: var(--ink-light); }

/* ============================================================
   JUDGES CAROUSEL
   ============================================================ */
#judges { background: var(--paper); }
.judges-header { text-align: center; margin-bottom: 56px; }
.judges-track-wrap {
  position: relative;
  overflow: hidden;
}
.judge-card img:first-child {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  display: block;
}


.judges-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.judge-card {
  flex: 0 0 280px;
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.judge-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.09); }
.judge-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--paper);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.judge-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--sand);
}
.judge-info { padding: 24px; }
.judge-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.judge-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 10px;
}
.judge-type {
  display: inline-block;
  font-size: 11px;
  background: rgba(89,117,29,0.1);
  color: var(--olive);
  border-radius: 10px;
  padding: 2px 10px;
  margin-bottom: 12px;
}
.judge-bio {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
}
.judge-li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--olive);
  font-weight: 500;
}
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--olive);
  background: transparent;
  color: var(--olive);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.carousel-btn:hover { background: var(--olive); color: #fff; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active { background: var(--olive); transform: scale(1.3); }

/* ============================================================
   WHERE IT BEGAN (2025)
   ============================================================ */
#legacy { background: var(--warm-white); }
.legacy-header { text-align: center; margin-bottom: 64px; }
.legacy-header .section-sub { margin: 0 auto; }

/* 2025 winner podium */
.winners-podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.winner-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.winner-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.winner-card.gold { border-color: #c9a84c; }
.winner-medal {
  padding: 20px 24px 0;
  font-size: 28px;
}
.winner-photo-placeholder {
  margin: 16px 24px;
  height: 180px;
  background: var(--warm-white);
  border-radius: 8px;
  border: 1.5px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #bbb;
}
.winner-info { padding: 0 24px 24px;
background: var(--warm-white); }

.winner-place {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}
.winner-team {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.winner-members {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 12px;
}
.winner-li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--olive);
  font-weight: 500;
}

.winner-photo-placeholder,
.winner-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* 2025 photo gallery */
.gallery-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 20px;
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.gallery-item {
  background: var(--paper);
  border-radius: 8px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1.5px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #bbb;
  transition: opacity 0.2s;
}
.gallery-item:hover { opacity: 0.85; }
.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ============================================================
   REGISTER
   ============================================================ */
#register { background: var(--paper); }
.register-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.register-right {
  min-width: 0;
}
.register-left .section-title { margin-bottom: 16px; }
.register-left .section-sub { margin-bottom: 28px; }
.register-perks { list-style: none; margin-bottom: 32px; }
.register-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-light);
  margin-bottom: 12px;
  line-height: 1.5;
}
.register-perks li::before {
  content: '✓';
  color: var(--olive);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.sample-note {
  background: rgba(89,117,29,0.08);
  border-left: 3px solid var(--olive);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
}

/* Form */
.register-form-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.form-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-sub {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--warm-white);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(89,117,29,0.1);
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a4a4a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-submit {
  width: 100%;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 15px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.04em;
}
.form-submit:hover { background: #d4415e; transform: translateY(-1px); }
.form-note {
  text-align: center;
  font-size: 11px;
  color: var(--ink-light);
  margin-top: 12px;
  line-height: 1.5;
}

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--warm-white); }
.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.faq-header { text-align: center; margin-bottom: 56px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--olive);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }
.faq-a p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.75;
}
.faq-a p + p { margin-top: 10px; }

/* ============================================================
   FOOTER CTA
   ============================================================ */
#footer-cta {
  background: var(--olive);
  padding: 96px 0;
  text-align: center;
  color: #fff;
}
.footer-cta-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.1;
}
.footer-cta-sub {
  font-size: 17px;
  opacity: 0.8;
  max-width: 480px;
  margin: 0 auto 40px;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--olive);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 40px;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.footer-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand-sub {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--pink); color: var(--pink); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-contact a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-contact a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .cxc-logo-float {width:160px;top:60px}
  .hero-content {padding-top:180px}
  .hero-content h1 {font-size:32px}
  .hero-cta {margin-top:100px}
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .register-wrap { grid-template-columns: 1fr; gap: 40px; }
  .winners-podium { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .schedule-grid { grid-template-columns: 1fr; }
  .prize-perks { grid-template-columns: 1fr; }
  .dates-timeline { flex-direction: column; align-items: flex-start; gap: 24px; }
  .dates-timeline::before { display: none; }
  .date-item { display: flex; align-items: center; gap: 16px; text-align: left; }
  .date-dot { margin: 0; flex-shrink: 0; }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .schedule-finale { flex-direction: column; text-align: center; }
  .finale-right { text-align: center; }
  .how-steps { grid-template-columns: 1fr; }
  .register-form-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .hero-logo { width: 100px; }
  .judge-card { flex: 0 0 240px; }
}
