/* ─────────────────────────────────────────────────────────────
   Goratify homepage v3
   Accent colour = the admin's theme colour (--primary).
   No other brand colours are introduced.
   Loaded only on the homepage (index.php).
   ───────────────────────────────────────────────────────────── */

body.gr-home{
  --hp-accent: var(--primary, #F97316);
  --hp-accent-d: var(--primary-d, #c2410c);
  --hp-accent-l: var(--primary-l, #fff4ec);
  --hp-accent-bdr: var(--primary-bdr, #fed7aa);
  --hp-ink: var(--txt, #0A0E27);
  --hp-mute: var(--txt2, #5b6478);
  --hp-soft: var(--txt3, #8a93a6);
  --hp-surface: var(--bg2, #ffffff);
  --hp-tint: var(--bg3, #f5f6fa);
  --hp-line: var(--bdr, #e6e8ef);
  --hp-r: 18px;
  --hp-shadow: 0 1px 2px rgba(10,14,39,.05), 0 10px 26px -18px rgba(10,14,39,.25);
  --hp-shadow-lift: 0 2px 6px rgba(10,14,39,.06), 0 22px 44px -22px color-mix(in srgb, var(--hp-accent) 50%, transparent);
  --hp-grad: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-accent-d) 100%);
  color: var(--hp-ink);
  background: var(--bg, #FAFBFC);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.gr-home *{ box-sizing: border-box; }
body.gr-home img{ max-width: 100%; height: auto; }
body.gr-home a{ text-decoration: none; }

/* ── Shared ─────────────────────────────────────────────────── */
.hp-accent{
  background: var(--hp-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hp-kicker{
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--hp-accent); margin-bottom: 12px;
}
.hp-kicker-sm{ font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--hp-accent); margin-bottom: 6px; }
.hp-h2{
  font-size: clamp(28px, 3.7vw, 42px); font-weight: 900; letter-spacing: -1px;
  line-height: 1.12; margin: 0; color: var(--hp-ink); text-wrap: balance;
}
.hp-sub{ font-size: clamp(15px, 1.4vw, 17px); line-height: 1.7; color: var(--hp-mute); margin: 14px 0 0; max-width: 640px; text-wrap: pretty; }
.hp-sec{ padding: clamp(56px, 7vw, 96px) 0; }
.hp-sec-tint{ background: var(--hp-tint); }
.hp-center{ text-align: center; margin-bottom: 44px; }
.hp-center .hp-sub{ margin-left: auto; margin-right: auto; }
.hp-sec-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.hp-sec-head .hp-sub{ margin-top: 10px; }
.hp-split{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

/* Buttons */
.hp-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.hp-btn:hover{ transform: translateY(-1px); }
.hp-btn:focus-visible, .hp-search input:focus-visible, .hp-filters input:focus-visible, .hp-filters select:focus-visible,
.hp-news-form input:focus-visible, .hp-tab:focus-visible{ outline: 3px solid var(--hp-accent-bdr); outline-offset: 2px; }
.hp-btn-primary{ background: var(--hp-grad); color: #fff; box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--hp-accent) 75%, transparent); }
.hp-btn-primary:hover{ color: #fff; box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--hp-accent) 80%, transparent); }
.hp-btn-ghost{ background: var(--hp-surface); color: var(--hp-ink); border-color: var(--hp-line); }
.hp-btn-ghost:hover{ border-color: var(--hp-accent); color: var(--hp-accent); }
.hp-btn-sm{ min-height: 40px; padding: 0 16px; font-size: 14px; }
.hp-btn-white{ background: #fff; color: var(--hp-ink); }
.hp-btn-white:hover{ color: var(--hp-ink); box-shadow: 0 14px 28px -14px rgba(0,0,0,.4); }
.hp-btn-outline-light{ background: transparent; color: #fff; border-color: rgba(255,255,255,.38); }
.hp-btn-outline-light:hover{ color: #fff; border-color: #fff; }

/* Cards */
.hp-card{
  display: flex; flex-direction: column; height: 100%;
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-r);
  overflow: hidden; color: var(--hp-ink); box-shadow: var(--hp-shadow);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.hp-card:hover{ transform: translateY(-4px); box-shadow: var(--hp-shadow-lift); border-color: var(--hp-accent-bdr); color: var(--hp-ink); }
.hp-media{ position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hp-tint); }
.hp-media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hp-card:hover .hp-media img{ transform: scale(1.04); }
.hp-media-ph{
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55);
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.16), transparent 55%),
    linear-gradient(135deg, var(--hp-accent-d), var(--hp-accent));
}
.hp-badges{ position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.hp-pill{ display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--hp-ink); }
.hp-pill-dark{ background: rgba(10,14,39,.82); color: #fff; }
.hp-pill-soft{ display: inline-flex; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--hp-accent-l); color: var(--hp-accent-d); }
.hp-countdown{
  position: absolute; bottom: 12px; left: 12px; z-index: 2; background: rgba(10,14,39,.8); color: #fff;
  font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
}
.hp-countdown-soft{ left: auto; right: 12px; background: var(--hp-accent); }
.hp-body{ padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hp-card-title{ font-size: 18px; font-weight: 800; line-height: 1.3; margin: 0; color: var(--hp-ink); letter-spacing: -.2px; text-wrap: balance; }
.hp-meta{ display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--hp-mute); }
.hp-foot{ margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px dashed var(--hp-line); }
.hp-price{ font-size: 18px; font-weight: 900; color: var(--hp-ink); }
.hp-price.free{ color: #059669; }
.hp-link{ font-size: 14px; font-weight: 800; color: var(--hp-accent); }
.hp-prog{ display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--hp-mute); }
.hp-prog strong{ color: var(--hp-accent); }
.hp-prog-bar{ width: 84px; height: 6px; border-radius: 6px; background: var(--hp-tint); overflow: hidden; display: inline-block; }
.hp-prog-bar span{ display: block; height: 100%; border-radius: 6px; background: var(--hp-grad); }
.hp-by{ font-size: 12px; color: var(--hp-soft); margin-top: auto; padding-top: 8px; }
.hp-star{ color: #f59e0b; font-weight: 800; }
.hp-excerpt{ font-size: 14px; color: var(--hp-mute); line-height: 1.6; margin: 0; }

/* Grids */
.hp-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.hp-grid-3{ grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.hp-grid-4{ grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.hp-ev-wrap{ display: flex; min-width: 0; }
.hp-ev-wrap > .hp-card{ width: 100%; }

/* ── Hero (centered, original layout) ───────────────────────── */
.hp-hero{
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 92px);
  background:
    radial-gradient(900px 460px at 50% -8%, color-mix(in srgb, var(--hp-accent) 15%, transparent), transparent 70%),
    var(--bg, #FAFBFC);
}
.hp-hero-in{ position: relative; z-index: 2; max-width: 880px; }
.hp-eyebrow{
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: var(--hp-surface); border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow);
  font-size: 13px; font-weight: 700; color: var(--hp-mute);
}
.hp-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--hp-accent); display: inline-block; animation: hpPulse 2s infinite; }
.hp-hero h1{
  font-size: clamp(38px, 5.6vw, 66px); font-weight: 900; line-height: 1.06; letter-spacing: -2px;
  margin: 24px 0 0; color: var(--hp-ink); text-wrap: balance;
}
.hp-hero .hp-accent{ display: inline-block; }
.hp-lead{ font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; color: var(--hp-mute); max-width: 620px; margin: 20px auto 0; }

.hp-search{
  margin: 32px auto 0; max-width: 600px; display: flex; align-items: center; gap: 8px;
  background: var(--hp-surface); border: 1.5px solid var(--hp-line); border-radius: 999px;
  padding: 6px 6px 6px 18px; box-shadow: 0 16px 36px -24px color-mix(in srgb, var(--hp-accent) 45%, transparent);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hp-search:focus-within{ border-color: var(--hp-accent); box-shadow: 0 0 0 5px var(--hp-accent-l); }
.hp-search svg{ color: var(--hp-soft); flex-shrink: 0; }
.hp-search input{ flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; color: var(--hp-ink); outline: none; padding: 10px 0; font-family: inherit; }
.hp-search button{ height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--hp-grad); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; font-family: inherit; }

.hp-cta{ display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hp-trust{ margin-top: 18px; font-size: 13px; color: var(--hp-soft); font-weight: 600; }
.hp-stats{ display: flex; justify-content: center; gap: clamp(28px, 6vw, 72px); margin-top: 44px; flex-wrap: wrap; }
.hp-stats strong{ display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 900; letter-spacing: -.8px; color: var(--hp-ink); }
.hp-stats span{ font-size: 13px; color: var(--hp-soft); font-weight: 600; }

/* Floating badges (decorative, as in the original) */
.hp-float{
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 7px;
  background: var(--hp-surface); border: 1px solid var(--hp-accent-bdr); color: var(--hp-accent-d);
  border-radius: 999px; padding: 8px 15px; font-size: 12.5px; font-weight: 700; box-shadow: var(--hp-shadow); white-space: nowrap;
}
.hp-float::before{ content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--hp-accent); }
.hp-float-1{ top: 14%; left: 4%; animation: hpFloat 6s ease-in-out infinite; }
.hp-float-2{ top: 16%; right: 4%; animation: hpFloat 7s ease-in-out infinite .8s; }
.hp-float-3{ top: 48%; left: 2%; animation: hpFloat 8s ease-in-out infinite 1.2s; }
.hp-float-4{ top: 50%; right: 2%; animation: hpFloat 6.5s ease-in-out infinite .4s; }
.hp-float-5{ bottom: 12%; left: 8%; animation: hpFloat 7.5s ease-in-out infinite 2s; }
.hp-float-6{ bottom: 12%; right: 8%; animation: hpFloat 6.8s ease-in-out infinite 1.6s; }

/* ── Logos ──────────────────────────────────────────────────── */
.hp-logos{ padding: 26px 0; border-block: 1px solid var(--hp-line); background: var(--hp-surface); }
.hp-logos-row{ display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 48px); }
.hp-logos-row img{ height: 34px; max-width: 110px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.hp-logos-row img:hover{ filter: none; opacity: 1; }

/* ── Search panel ───────────────────────────────────────────── */
.hp-search-card{
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: 24px; padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--hp-shadow-lift); display: grid; gap: 22px;
}
.hp-search-copy h2{ margin: 0; }
.hp-search-copy p{ margin: 10px 0 0; color: var(--hp-mute); font-size: 15px; }
.hp-filters{ display: grid; grid-template-columns: 2fr 1.2fr 1.2fr auto; gap: 10px; }
.hp-filters input, .hp-filters select{
  height: 50px; border-radius: 12px; border: 1.5px solid var(--hp-line); background: var(--hp-surface); color: var(--hp-ink);
  padding: 0 14px; font-size: 15px; font-family: inherit; outline: none; min-width: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hp-filters input:focus, .hp-filters select:focus{ border-color: var(--hp-accent); box-shadow: 0 0 0 4px var(--hp-accent-l); }
.hp-filters .hp-btn{ height: 50px; }
.hp-popular{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--hp-soft); }
.hp-popular span{ font-weight: 700; margin-right: 4px; }
.hp-popular a{
  padding: 6px 12px; border-radius: 999px; background: var(--hp-accent-l); color: var(--hp-accent-d);
  font-weight: 700; font-size: 13px; transition: background .2s ease;
}
.hp-popular a:hover{ background: var(--hp-accent-bdr); color: var(--hp-accent-d); }

/* ── Weekend strip ──────────────────────────────────────────── */
.hp-strip{ padding: 0 0 8px; }
.hp-strip-row{ display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hp-strip-row::-webkit-scrollbar{ display: none; }
.hp-chip{
  flex: 0 0 auto; scroll-snap-align: start; display: grid; gap: 4px; min-width: 240px; padding: 16px 18px;
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: 16px; color: var(--hp-ink);
  box-shadow: var(--hp-shadow); transition: transform .2s ease, border-color .2s ease;
}
.hp-chip:hover{ transform: translateY(-3px); border-color: var(--hp-accent); color: var(--hp-ink); }
.hp-chip-date{ font-size: 12px; font-weight: 800; color: var(--hp-accent); text-transform: uppercase; letter-spacing: .6px; }
.hp-chip-name{ font-size: 15px; font-weight: 800; line-height: 1.3; }
.hp-chip-price{ font-size: 13px; font-weight: 700; color: var(--hp-mute); }
.hp-strip-all{ text-align: right; margin-top: 6px; }
.hp-strip-all a{ font-weight: 800; font-size: 14px; color: var(--hp-accent); }

/* ── Tabs ───────────────────────────────────────────────────── */
.hp-tabs{ display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 26px; scrollbar-width: none; }
.hp-tabs::-webkit-scrollbar{ display: none; }
.hp-tab{
  flex: 0 0 auto; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hp-line);
  background: var(--hp-surface); color: var(--hp-mute); font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; transition: all .2s ease;
}
.hp-tab:hover{ color: var(--hp-ink); border-color: var(--hp-accent); }
.hp-tab.is-on{ background: var(--hp-grad); color: #fff; border-color: transparent; }

/* ── Venue type tiles ───────────────────────────────────────── */
.hp-type{
  display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--hp-surface);
  border: 1px solid var(--hp-line); border-radius: var(--hp-r); color: var(--hp-ink); box-shadow: var(--hp-shadow);
  transition: transform .25s ease, border-color .25s ease;
}
.hp-type:hover{ transform: translateY(-3px); border-color: var(--hp-accent); color: var(--hp-ink); }
.hp-type-ico{ width: 44px; height: 44px; border-radius: 13px; background: var(--hp-accent-l); color: var(--hp-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.hp-type strong{ font-size: 17px; font-weight: 800; }
.hp-type small{ font-size: 13.5px; color: var(--hp-mute); line-height: 1.5; }
.hp-venues{ margin-top: 22px; }

/* ── Ticker ─────────────────────────────────────────────────── */
.hp-ticker{ display: flex; align-items: center; gap: 16px; background: var(--hp-ink); color: #fff; padding: 13px 0; overflow: hidden; }
.hp-ticker-tag{ flex: 0 0 auto; margin-left: clamp(16px, 4vw, 40px); font-size: 12px; font-weight: 900; letter-spacing: 1.2px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); padding: 6px 12px; border-radius: 999px; }
.hp-ticker-track{ flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hp-ticker-run{ display: flex; gap: 48px; width: max-content; animation: hpTicker 45s linear infinite; }
.hp-ticker-run > span{ font-size: 14px; color: rgba(255,255,255,.8); white-space: nowrap; }
.hp-ticker-run strong{ color: #fff; }
.hp-ticker-run em{ color: var(--hp-accent); font-style: normal; font-weight: 700; }

/* ── Steps ──────────────────────────────────────────────────── */
.hp-steps{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-step{ background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-r); padding: 26px; box-shadow: var(--hp-shadow); }
.hp-step-n{
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--hp-accent-l); color: var(--hp-accent-d); font-weight: 900; font-size: 15px;
}
.hp-step h3{ font-size: 18px; font-weight: 800; margin: 18px 0 8px; color: var(--hp-ink); }
.hp-step p{ margin: 0; color: var(--hp-mute); line-height: 1.65; font-size: 15px; }

/* ── Live poll ──────────────────────────────────────────────── */
.hp-poll{
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: 24px; padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--hp-shadow-lift);
}
.hp-live-tag{ display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 900; letter-spacing: 1.2px; color: var(--hp-accent); background: var(--hp-accent-l); padding: 5px 12px; border-radius: 999px; }
.hp-poll-title{ font-size: 22px; font-weight: 900; letter-spacing: -.4px; margin-top: 14px; }
.hp-poll-sub{ font-size: 13px; color: var(--hp-soft); margin: 4px 0 18px; }
.hp-cand{ display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--hp-line); }
.hp-cand-av{ width: 44px; height: 44px; border-radius: 13px; background: var(--hp-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; flex-shrink: 0; }
.hp-cand-main{ flex: 1; min-width: 0; }
.hp-cand-name{ font-weight: 800; font-size: 15px; }
.hp-cand-sub{ font-size: 12.5px; color: var(--hp-mute); margin-top: 2px; }
.hp-cand-bar{ height: 7px; border-radius: 8px; background: var(--hp-tint); margin-top: 10px; overflow: hidden; }
.hp-cand-bar span{ display: block; height: 100%; border-radius: 8px; background: var(--hp-grad); }
.hp-cand-pct{ font-size: 20px; font-weight: 900; min-width: 52px; text-align: right; color: var(--hp-accent); }

/* ── Features ───────────────────────────────────────────────── */
.hp-feat{ background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-r); padding: 26px; box-shadow: var(--hp-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.hp-feat:hover{ transform: translateY(-3px); box-shadow: var(--hp-shadow-lift); }
.hp-feat-ico{ width: 46px; height: 46px; border-radius: 13px; background: var(--hp-accent-l); color: var(--hp-accent); display: flex; align-items: center; justify-content: center; }
.hp-feat h3{ font-size: 18px; font-weight: 800; margin: 18px 0 8px; }
.hp-feat p{ margin: 0; color: var(--hp-mute); line-height: 1.65; font-size: 15px; }

/* ── Testimonials ───────────────────────────────────────────── */
.hp-quotes{ display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.hp-quote{ margin: 0; background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-r); padding: 26px; display: flex; flex-direction: column; gap: 22px; box-shadow: var(--hp-shadow); }
.hp-quote blockquote{ margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--hp-ink); }
.hp-quote figcaption{ display: flex; align-items: center; gap: 12px; margin-top: auto; }
.hp-quote figcaption strong{ display: block; font-size: 14px; }
.hp-quote figcaption small{ display: block; font-size: 12.5px; color: var(--hp-soft); }
.hp-av{ width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── Organizer CTA band (theme accent) ──────────────────────── */
.hp-cta-band{
  position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: clamp(40px, 6vw, 64px) clamp(22px, 4vw, 48px);
  background: var(--hp-grad); color: #fff; box-shadow: 0 30px 60px -32px color-mix(in srgb, var(--hp-accent) 80%, transparent);
}
.hp-cta-band::after{ content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -140px; top: -160px; background: rgba(255,255,255,.12); }
.hp-cta-band > *{ position: relative; z-index: 1; }
.hp-cta-band h2{ font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; letter-spacing: -1px; margin: 0 0 12px; color: #fff; }
.hp-cta-band p{ margin: 0 auto; max-width: 620px; color: rgba(255,255,255,.88); line-height: 1.65; font-size: 16px; }
.hp-cta-band-actions{ display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hp-cta-band-trust{ margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.75); font-weight: 600; }
.hp-cta-band .hp-btn-white{ color: var(--hp-accent-d); }

/* ── Referral ───────────────────────────────────────────────── */
.hp-ref{ list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.hp-ref li{ display: flex; align-items: flex-start; gap: 14px; }
.hp-ref li > span{ width: 30px; height: 30px; border-radius: 50%; background: var(--hp-accent-l); color: var(--hp-accent-d); font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hp-ref strong{ display: block; font-size: 15px; font-weight: 800; }
.hp-ref small{ display: block; color: var(--hp-mute); font-size: 13.5px; line-height: 1.55; margin-top: 2px; }
.hp-refcard{ background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: 24px; padding: 18px; box-shadow: var(--hp-shadow-lift); display: grid; gap: 10px; }
.hp-refrow{ display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--hp-tint); }
.hp-refrow-ico{ width: 38px; height: 38px; border-radius: 11px; background: var(--hp-accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hp-refrow strong{ display: block; font-size: 14.5px; font-weight: 800; color: var(--hp-ink); }
.hp-refrow small{ display: block; font-size: 12.5px; color: var(--hp-mute); margin-top: 2px; }

/* ── FAQ ────────────────────────────────────────────────────── */
.hp-faq-wrap{ max-width: 860px; }
.hp-faq{ display: grid; gap: 10px; }
.hp-faq details{ background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: 16px; padding: 0 22px; box-shadow: var(--hp-shadow); }
.hp-faq details[open]{ border-color: var(--hp-accent-bdr); }
.hp-faq summary{ cursor: pointer; list-style: none; padding: 19px 0; font-size: 16px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--hp-ink); }
.hp-faq summary::-webkit-details-marker{ display: none; }
.hp-faq summary::after{
  content: '+'; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--hp-accent-l); color: var(--hp-accent-d);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; transition: transform .25s ease;
}
.hp-faq details[open] summary::after{ transform: rotate(45deg); }
.hp-faq p{ margin: 0 0 20px; color: var(--hp-mute); line-height: 1.7; font-size: 15px; }

/* ── Newsletter ─────────────────────────────────────────────── */
.hp-news{
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center;
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: 26px; padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--hp-shadow-lift);
}
.hp-news .hp-h2{ margin-bottom: 10px; }
.hp-news-copy p{ margin: 0; color: var(--hp-mute); line-height: 1.65; }
.hp-news-perks{ list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.hp-news-perks li{ position: relative; padding-left: 26px; font-weight: 600; font-size: 14.5px; }
.hp-news-perks li::before{ content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--hp-grad); }
.hp-news-form form{ display: flex; gap: 8px; background: var(--hp-tint); border: 1px solid var(--hp-line); border-radius: 999px; padding: 6px; }
.hp-news-form input{ flex: 1; min-width: 0; background: transparent; border: 0; color: var(--hp-ink); padding: 0 16px; font-size: 15px; outline: none; font-family: inherit; }
.hp-news-form button{ height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--hp-grad); color: #fff; font-weight: 800; cursor: pointer; font-family: inherit; }
.hp-news-form small{ display: block; color: var(--hp-soft); font-size: 12px; margin-top: 12px; text-align: center; }
.hp-news-ok{ display: none; margin-top: 12px; color: #059669; font-weight: 700; font-size: 14px; text-align: center; }

/* ── Motion ─────────────────────────────────────────────────── */
@keyframes hpPulse{ 0%{ box-shadow: 0 0 0 0 color-mix(in srgb, var(--hp-accent) 55%, transparent);} 70%{ box-shadow: 0 0 0 9px transparent;} 100%{ box-shadow: 0 0 0 0 transparent;} }
@keyframes hpFloat{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
@keyframes hpTicker{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px){
  .hp-steps{ grid-template-columns: repeat(2, 1fr); }
  .hp-float{ display: none; }
}
@media (max-width: 900px){
  .hp-split, .hp-news{ grid-template-columns: 1fr; }
  .hp-filters{ grid-template-columns: 1fr 1fr; }
  .hp-filters input{ grid-column: 1 / -1; }
  .hp-filters .hp-btn{ grid-column: 1 / -1; }
}
@media (max-width: 720px){
  .container{ padding-left: 18px; padding-right: 18px; }
  .hp-sec{ padding: 52px 0; }
  .hp-hero h1{ letter-spacing: -1.2px; }
  .hp-search{ flex-wrap: wrap; border-radius: 20px; padding: 10px; }
  .hp-search input{ padding: 10px 6px; }
  .hp-search button{ width: 100%; height: 46px; }
  .hp-cta .hp-btn{ flex: 1 1 100%; }
  .hp-stats{ gap: 24px; }
  .hp-grid, .hp-grid-3, .hp-grid-4{ grid-template-columns: 1fr; gap: 16px; }
  .hp-sec-head{ align-items: flex-start; }
  .hp-steps{ grid-template-columns: 1fr; }
  .hp-filters{ grid-template-columns: 1fr; }
  .hp-cta-band-actions .hp-btn{ width: 100%; }
  .hp-news-form form{ flex-direction: column; border-radius: 16px; }
  .hp-news-form button{ width: 100%; height: 48px; }
  .hp-chip{ min-width: 230px; }
  .hp-type{ padding: 20px; }
}
@media (max-width: 380px){
  .hp-hero h1{ font-size: 33px; }
}

@media (prefers-reduced-motion: reduce){
  body.gr-home *, body.gr-home *::before, body.gr-home *::after{
    animation: none !important; transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

/* ── v4: trusted schools (tiles, fixed on mobile) ──────────── */
.hp-logos{ padding: 22px 0; }
.hp-logos-row{ display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.hp-logos-row img{
  width: 100%; height: 64px; max-width: none; object-fit: contain; display: block;
  padding: 10px 14px; border-radius: 14px; background: var(--hp-surface); border: 1px solid var(--hp-line);
  filter: none; opacity: 1;
}
.hp-logos-row img:hover{ border-color: var(--hp-accent-bdr); }
@media (max-width: 720px){
  .hp-logos-row{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hp-logos-row img{ height: 54px; padding: 8px 10px; }
  .hp-logos-row img:nth-child(n+7){ display: none; }
}

/* ── v4: accessibility ─────────────────────────────────────── */
.hp-skip{
  position: absolute; left: 12px; top: -60px; z-index: 10000; background: var(--hp-accent); color: #fff;
  padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; transition: top .2s ease;
}
.hp-skip:focus{ top: 12px; color: #fff; }

/* ── v4: scroll reveal (only when JS is running) ───────────── */
.hp-js .hp-rv:not(.in){ opacity: 0; transform: translateY(18px); }
.hp-rv{ transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.hp-rv.in{ opacity: 1; transform: none; }

/* ── v4: mobile sticky actions ─────────────────────────────── */
.hp-stickycta{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: none; gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--hp-surface) 92%, transparent); backdrop-filter: blur(10px);
  border-top: 1px solid var(--hp-line); box-shadow: 0 -10px 30px -18px rgba(10,14,39,.3);
  transform: translateY(110%); transition: transform .3s ease;
}
.hp-stickycta .hp-btn{ flex: 1; min-height: 46px; }
.hp-stickycta.show{ transform: translateY(0); }
@media (max-width: 720px){ .hp-stickycta{ display: flex; } }

/* ── v4: back to top ───────────────────────────────────────── */
.hp-totop{
  position: fixed; right: 18px; bottom: 22px; z-index: 880; width: 44px; height: 44px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid var(--hp-line);
  background: var(--hp-surface); color: var(--hp-accent); box-shadow: var(--hp-shadow-lift);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.hp-totop.show{ opacity: 1; transform: none; pointer-events: auto; }
.hp-totop:hover{ border-color: var(--hp-accent); }
@media (max-width: 720px){ .hp-totop{ bottom: 84px; } }
