/* ── CretaHub — Become a Local Expert Page ───────────────────── */

:root {
  --che-primary:            #004d70;
  --che-primary-dark:       #003552;
  --che-secondary:          #895200;
  --che-amber:              #FDA53A;
  --che-surface:            #fcf9f8;
  --che-surface-low:        #f6f3f2;
  --che-surface-white:      #ffffff;
  --che-on-surface:         #1b1c1c;
  --che-on-surface-variant: #3e4850;
  --che-outline-variant:    #bec8d2;
  --che-font-headline:      "Noto Serif", Georgia, serif;
  --che-font-body:          "Plus Jakarta Sans", sans-serif;
}

#che-ble-wrap, #che-ble-wrap * { box-sizing: border-box; }

#che-ble-wrap {
  --che-primary:            #004d70;
  --che-primary-dark:       #003552;
  --che-secondary:          #895200;
  --che-amber:              #FDA53A;
  --che-surface:            #fcf9f8;
  --che-surface-low:        #f6f3f2;
  --che-surface-white:      #ffffff;
  --che-on-surface:         #1b1c1c;
  --che-on-surface-variant: #3e4850;
  --che-outline-variant:    #bec8d2;
  --che-font-headline:      "Noto Serif", Georgia, serif;
  --che-font-body:          "Plus Jakarta Sans", sans-serif;

  background: var(--che-surface);
  color: var(--che-on-surface);
  font-family: var(--che-font-body);
  overflow-x: hidden;
}

/* ── Animated gradient border ─────────────────────────────── */
@property --che-ga {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes che-spin { to { --che-ga: 360deg; } }

#che-ble-wrap .che-gbc {
  background-image:
    linear-gradient(var(--che-surface-white), var(--che-surface-white)),
    conic-gradient(from var(--che-ga), #004d70 0%, #FDA53A 30%, #FFD080 50%, #FDA53A 70%, #004d70 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  border-radius: 20px;
}
#che-ble-wrap .che-gbc:hover { animation: che-spin 5s linear infinite; }

/* ── Layout helpers ───────────────────────────────────────── */
#che-ble-wrap .che-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
#che-ble-wrap .che-eyebrow {
  font-family: var(--che-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--che-secondary);
  display: block;
  margin-bottom: 16px;
}
#che-ble-wrap .che-ble-section {
  padding: 100px 0 120px;
  background: var(--che-surface);
}
#che-ble-wrap .che-ble-section--alt {
  background: var(--che-surface-low);
}
#che-ble-wrap .che-ble-section-header {
  margin-bottom: 64px;
}
#che-ble-wrap .che-ble-heading {
  font-family: var(--che-font-headline);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--che-on-surface);
  margin: 0;
}
#che-ble-wrap .che-ble-heading em {
  font-style: italic;
  color: var(--che-primary);
}

/* ── Hero ─────────────────────────────────────────────────── */
/* Hero styles → premium-hero.css */

/* ── Steps ────────────────────────────────────────────────── */
#che-ble-wrap .che-ble-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
#che-ble-wrap .che-ble-step {
  padding: 36px 32px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  opacity: 0;
}
#che-ble-wrap .che-ble-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,77,112,0.15);
}
#che-ble-wrap .che-ble-step__number {
  font-family: var(--che-font-headline);
  font-size: 3rem;
  font-weight: 300;
  color: var(--che-amber);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
#che-ble-wrap .che-ble-step__title {
  font-family: var(--che-font-headline);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--che-on-surface);
  margin: 0 0 12px;
  letter-spacing: -0.015em;
  transition: color 0.22s ease;
}
#che-ble-wrap .che-ble-step:hover .che-ble-step__title {
  color: var(--che-primary) !important;
}
#che-ble-wrap .che-ble-step__desc {
  font-family: var(--che-font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--che-on-surface-variant);
  margin: 0;
}

/* ── Benefits ─────────────────────────────────────────────── */
#che-ble-wrap .che-ble-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 72px;
}
#che-ble-wrap .che-ble-benefit {
  background: var(--che-surface-white);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  opacity: 0;
}
#che-ble-wrap .che-ble-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,77,112,0.15);
}
#che-ble-wrap .che-ble-benefit__accent {
  height: 6px;
  border-radius: 18px 18px 0 0;
}
#che-ble-wrap .che-ble-benefit__body {
  padding: 28px 28px 32px;
}
#che-ble-wrap .che-ble-benefit__title {
  font-family: var(--che-font-headline);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--che-on-surface);
  margin: 0 0 12px;
  transition: color 0.25s ease;
}
#che-ble-wrap .che-ble-benefit:hover .che-ble-benefit__title {
  color: var(--che-primary) !important;
}
#che-ble-wrap .che-ble-benefit__desc {
  font-family: var(--che-font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--che-on-surface-variant);
  margin: 0;
}

/* ── Register CTA ─────────────────────────────────────────── */
#che-ble-wrap .che-ble-cta {
  text-align: center;
  padding: 16px 0 0;
  opacity: 0;
}
#che-ble-wrap .che-ble-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--che-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--che-primary);
  text-decoration: none;
  border-radius: 9999px;
  padding: 22px 52px;
  box-shadow: 0 8px 32px rgba(0,77,112,0.28);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
#che-ble-wrap .che-ble-cta__btn:hover {
  background: var(--che-amber) !important;
  color: #fff !important;
  transform: scale(0.97) translateY(-2px);
  box-shadow: 0 8px 32px rgba(253,165,58,0.45);
}
#che-ble-wrap .che-ble-cta__arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
#che-ble-wrap .che-ble-cta__btn:hover .che-ble-cta__arrow {
  transform: translateX(5px);
}

/* ── FAQs ─────────────────────────────────────────────────── */
#che-ble-wrap .che-ble-faqs {
  max-width: 760px;
}
#che-ble-wrap .che-ble-faq {
  border-bottom: 1px solid var(--che-outline-variant);
  opacity: 0;
}
#che-ble-wrap .che-ble-faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
#che-ble-wrap .che-ble-faq__q {
  font-family: var(--che-font-headline);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--che-on-surface);
  transition: color 0.22s ease;
}
#che-ble-wrap .che-ble-faq__btn[aria-expanded="true"] .che-ble-faq__q {
  color: var(--che-primary);
}
#che-ble-wrap .che-ble-faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #f0eded;
  position: relative;
  transition: background 0.22s ease, transform 0.3s ease;
}
#che-ble-wrap .che-ble-faq__icon::before,
#che-ble-wrap .che-ble-faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--che-on-surface-variant);
  border-radius: 2px;
  transition: transform 0.3s ease, background 0.22s ease;
}
#che-ble-wrap .che-ble-faq__icon::before {
  width: 14px; height: 2px;
  transform: translate(-50%, -50%);
}
#che-ble-wrap .che-ble-faq__icon::after {
  width: 2px; height: 14px;
  transform: translate(-50%, -50%);
}
#che-ble-wrap .che-ble-faq__btn[aria-expanded="true"] .che-ble-faq__icon {
  background: var(--che-primary);
}
#che-ble-wrap .che-ble-faq__btn[aria-expanded="true"] .che-ble-faq__icon::before,
#che-ble-wrap .che-ble-faq__btn[aria-expanded="true"] .che-ble-faq__icon::after {
  background: #fff;
}
#che-ble-wrap .che-ble-faq__btn[aria-expanded="true"] .che-ble-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}
#che-ble-wrap .che-ble-faq__body {
  display: none;
  padding-bottom: 24px;
  padding-right: 48px;
}
#che-ble-wrap .che-ble-faq__body.is-open { display: block; }
#che-ble-wrap .che-ble-faq__body p {
  font-family: var(--che-font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--che-on-surface-variant);
  margin: 0;
}

/* ── Support ──────────────────────────────────────────────── */
#che-ble-wrap .che-ble-support {
  background: var(--che-surface-white);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  opacity: 0;
}
#che-ble-wrap .che-ble-support__text .che-eyebrow { color: var(--che-secondary); }
#che-ble-wrap .che-ble-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--che-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--che-primary) !important;
  background: transparent;
  border: 1.5px solid var(--che-primary);
  border-radius: 9999px;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
#che-ble-wrap .che-ble-btn-outline:hover {
  background: var(--che-primary);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,77,112,0.25);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  #che-ble-wrap .che-ble-steps,
  #che-ble-wrap .che-ble-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  #che-ble-wrap .che-ble-support { padding: 36px 32px; }
}
@media (max-width: 700px) {
  #che-ble-wrap .che-ble-steps,
  #che-ble-wrap .che-ble-benefits { grid-template-columns: 1fr; }
  #che-ble-wrap .che-ble-cta__btn { padding: 18px 36px; font-size: 0.8rem; }
}
@media (max-width: 600px) {
  /* .che-premium-hero responsive → premium-hero.css */
  #che-ble-wrap .che-ble-section { padding: 64px 0 80px; }
  #che-ble-wrap .che-container { padding: 0 20px; }
  #che-ble-wrap .che-ble-support { padding: 28px 24px; }
}