/* ============================================================
   SECTION styles — Jobful
   ============================================================ */

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; line-height: 1; text-transform: uppercase; }
.wordmark__job { font-size: 23px; color: var(--paper-text); }
.wordmark__ful { font-size: 23px; color: var(--accent); }
.wordmark--sm .wordmark__job, .wordmark--sm .wordmark__ful { font-size: 19px; }

/* ---------- Top bar (sticky) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 20, 23, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--charcoal-3);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.topbar__cta { padding: 11px 18px; min-height: 44px; font-size: 15px; }
.topbar__cta-short { display: inline; }
.topbar__cta-full { display: none; }
@media (min-width: 560px) {
  .topbar__cta-short { display: none; }
  .topbar__cta-full { display: inline; }
}

/* ---------- Nav tabs (sticky, under top bar) ---------- */
.navtabs {
  position: sticky; top: 64px; z-index: 99;
  background: rgba(14, 15, 17, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--charcoal-3);
}
.navtabs__inner {
  display: flex; align-items: stretch; gap: 2px; height: 52px;
  overflow-x: auto; scrollbar-width: none;
}
.navtabs__inner::-webkit-scrollbar { display: none; }
.navtab {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em;
  font-weight: 600; font-size: 14px; color: var(--paper-soft);
  padding: 0 14px; border-bottom: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.navtab:first-child { padding-left: 0; }
.navtab:hover { color: var(--paper-text); }
.navtab--active { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Shared hero grid (offer pages) ---------- */
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 4px; }
.hero__phone { display: flex; justify-content: center; }
@media (min-width: 940px) { .hero__phone { justify-content: flex-end; } }
.hl { color: var(--accent); }

/* ---------- Home hero ---------- */
.homehero { padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 760px) { .homehero { padding-top: 88px; padding-bottom: 104px; } }
.homehero__inner { max-width: 900px; }
.homehero__h1 { margin: 20px 0 20px; }
.homehero__h1 .hl { display: block; }
.homehero__sub { max-width: 56ch; }
.homehero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Offer hero ---------- */
.offerhero { padding-top: 40px; padding-bottom: 48px; }
@media (min-width: 940px) { .offerhero { padding-top: 64px; padding-bottom: 88px; } }
.offerhero__h1 { margin: 18px 0 18px; font-size: clamp(38px, 8.5vw, 72px); }
.offerhero__sub { max-width: 42ch; }

/* ---------- Offers menu (home) ---------- */
.menu__h2 { margin: 16px 0 36px; max-width: 22ch; }
.menu__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .menu__grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
.ocard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid rgba(23,25,28,0.1); border-top: 4px solid var(--accent);
  border-radius: 6px; padding: 26px 26px 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ocard:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -18px rgba(0,0,0,0.45); }
.ocard__chip {
  align-self: flex-start; font-family: var(--display); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 11px; font-weight: 600; color: var(--accent-ink);
  background: var(--accent); padding: 5px 10px; border-radius: 3px; margin-bottom: 16px;
}
.ocard__t { font-family: var(--display); text-transform: uppercase; font-weight: 700; font-size: clamp(22px, 4.6vw, 28px); line-height: 1.02; letter-spacing: -0.01em; margin-bottom: 12px; }
.ocard__d { color: var(--ink-soft); font-size: 16px; margin-bottom: 20px; }
.ocard__link { margin-top: auto; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; font-size: 14px; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; transition: gap .18s ease; }
.ocard:hover .ocard__link { gap: 13px; }

/* ---------- Offer: the moment (story) ---------- */
.story__h2 { margin: 16px 0 28px; max-width: 22ch; }
.story__accent { color: var(--accent); }
.story__body { max-width: 56ch; display: flex; flex-direction: column; gap: 16px; font-size: clamp(17px, 4vw, 20px); color: var(--ink-soft); }
.story__body strong { color: var(--ink); }
.story__kicker {
  font-family: var(--display); text-transform: uppercase; font-weight: 700;
  font-size: clamp(20px, 5vw, 28px); margin-top: 34px; color: var(--ink);
  letter-spacing: -0.01em; border-left: 5px solid var(--accent); padding-left: 16px;
}

/* ---------- Offer: how it works ---------- */
.how__h2 { margin: 16px 0 48px; }
.how__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 860px) { .how__grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
.how__step { position: relative; }
.how__num {
  font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 0.8;
  color: var(--accent); margin-bottom: 16px; display: inline-block;
}
.how__t { margin-bottom: 12px; max-width: 14ch; }
.how__d { font-size: 16px; max-width: 38ch; }
.how__connector { display: none; }
@media (min-width: 860px) {
  .how__connector { display: block; position: absolute; top: 28px; right: -15px; width: 30px; height: 2px; background: var(--charcoal-3); }
  .how__connector::after { content: ""; position: absolute; right: 0; top: -3px; width: 8px; height: 8px; border-top: 2px solid var(--charcoal-3); border-right: 2px solid var(--charcoal-3); transform: rotate(45deg); }
}

/* ---------- Offer: what's special ---------- */
.special__h2 { margin: 16px 0 32px; max-width: 20ch; }
.special__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .special__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.get__diff-card { background: #fff; border: 1px solid rgba(23,25,28,0.1); border-top: 4px solid var(--accent); border-radius: 6px; padding: 26px 26px 28px; }
.get__diff-mark { color: var(--accent); font-size: 18px; }
.get__diff-t { font-family: var(--display); text-transform: uppercase; font-weight: 700; font-size: 22px; margin: 12px 0 10px; letter-spacing: -0.01em; }
.get__diff-card p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Offer: closing CTA band ---------- */
.offerclose__inner { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 820px) { .offerclose__inner { grid-template-columns: 1.3fr 0.7fr; gap: 48px; } }
.offerclose__h2 { margin: 14px 0 14px; font-size: clamp(30px, 6vw, 48px); }
.offerclose__sub { font-size: 17px; max-width: 46ch; }
.offerclose__action { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
@media (min-width: 820px) { .offerclose__action { align-items: flex-end; } }
.offerclose__cta { font-size: 18px; padding: 20px 30px; min-height: 60px; }
.offerclose__back { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; font-size: 14px; color: var(--paper-soft); transition: color .15s ease; }
.offerclose__back:hover { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 820px; }
.faq__h2 { margin: 16px 0 32px; }
.faq__list { border-top: 2px solid rgba(23,25,28,0.14); }
.faq__item { border-bottom: 2px solid rgba(23,25,28,0.14); }
.faq__q {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px; font-family: var(--display); text-transform: uppercase;
  font-weight: 600; font-size: clamp(17px, 4vw, 22px); color: var(--ink);
  letter-spacing: -0.005em; transition: color .15s ease;
}
.faq__q:hover { color: var(--accent); }
.faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); }
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__icon::after  { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item.open .faq__icon::after { transform: scaleY(0); }
.faq__a-wrap { overflow: hidden; transition: max-height .28s ease; }
.faq__a { padding: 0 4px 24px; font-size: 16px; color: var(--ink-soft); max-width: 64ch; }

/* ---------- Final CTA ---------- */
.final__inner { text-align: center; max-width: 680px; margin: 0 auto; }
.final__h2 { margin: 16px 0 18px; font-size: clamp(36px, 9vw, 64px); }
.final__sub { font-size: 18px; margin: 0 auto 30px; max-width: 54ch; }
.final__cta { font-size: 19px; padding: 22px 34px; min-height: 64px; }
.final__fine { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 500; color: var(--paper-soft); margin-top: 18px; }

/* ---------- Footer ---------- */
.footer { background: #0E0F11; color: var(--paper-text); padding: 48px 0 28px; border-top: 1px solid var(--charcoal-3); }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
@media (min-width: 680px) { .footer__inner { grid-template-columns: 1fr auto; } }
.footer__tag { color: var(--paper-soft); font-size: 15px; margin-top: 12px; max-width: 40ch; }
.footer__contact { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 680px) { .footer__contact { align-items: flex-end; } }
.footer__line { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--paper-text); transition: color .15s ease; }
.footer__line:hover { color: var(--accent); }
.footer__booklink { background: none; border: none; color: var(--accent); font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; font-size: 14px; padding: 0; margin-top: 4px; cursor: pointer; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--charcoal-3); }
.footer__legal span { font-size: 13px; color: var(--steel); }
