/* ============================================================
   RESOURCE / OPT-IN PAGES — Shared Styles
   Used by: /boa/, /personal_assistant_interview_questions/
   Premium editorial. Dark hero + split form/image layout.
   v4 — grid 1fr 1fr (larger doc image), panels headline, error state
   ============================================================ */

/* ============================================================
   HERO BANNER — narrow, editorial, centered
   ============================================================ */
.res-hero {
  background: #000;
  padding: clamp(120px, 14vw, 180px) 0 clamp(60px, 7vw, 90px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.res-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  text-align: center;
}

.res-label {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: clamp(18px, 2vw, 24px);
}

.res-headline {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

.res-subhead {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.7vw, 22px);
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
}

/* ============================================================
   MAIN CONTENT — form + document image split
   ============================================================ */
.res-main {
  background: #0a0a0a;
  padding: clamp(56px, 6vw, 88px) 0;
}

.res-main-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

/* ============================================================
   FORM COLUMN
   ============================================================ */
.res-form-col {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}

.res-form-card {
  background: #f8f7f4;
  border-radius: 8px;
  padding: clamp(36px, 4vw, 52px) clamp(28px, 3.5vw, 48px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  position: relative;
}

/* Gold top accent bar */
.res-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 8px 8px 0 0;
}

.res-form-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.25;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.res-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.res-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.res-form-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.02em;
}

.res-form-input {
  background: #fff;
  border: 1px solid #d0cdc8;
  color: #111;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  border-radius: 4px;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
}

.res-form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.14);
}

.res-form-input::placeholder { color: #bbb; }

.res-submit-btn {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #000;
  padding: 20px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(212,168,83,0.28);
  margin-top: 6px;
}

.res-submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(212,168,83,0.38);
}

.res-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   ERROR STATE
   ============================================================ */
.res-error {
  background: rgba(220,53,69,0.08);
  border: 1px solid rgba(220,53,69,0.3);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #dc3545;
  display: none;
  margin-top: 4px;
}

.res-error.visible { display: block; }

/* ============================================================
   SUCCESS STATE
   ============================================================ */
.res-success {
  display: none;
  text-align: center;
  padding: 40px 16px;
}

.res-success.visible { display: block; }

.res-success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(212,168,83,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.res-success-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--accent);
}

.res-success-headline {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 10px;
}

.res-success-body {
  font-size: 16px;
  color: #555;
  line-height: 1.65;
}

/* ============================================================
   DESCRIPTION TEXT (below form card)
   ============================================================ */
.res-description {
  background: #111;
  border-radius: 6px;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255,255,255,0.06);
}

.res-desc-text {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

.res-desc-text:last-child { margin-bottom: 0; }

.res-desc-text strong,
.res-desc-text b {
  color: var(--white);
  font-weight: 600;
}

/* ============================================================
   PROMO BANNER (used on PA page)
   ============================================================ */
.res-promo-banner {
  background: linear-gradient(135deg, #1a1208 0%, #111 100%);
  border: 1px solid rgba(212,175,55,0.3);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: clamp(20px, 2.5vw, 28px) clamp(20px, 2.5vw, 32px);
}

.res-promo-banner a {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--accent);
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.25s;
}

.res-promo-banner a:hover { color: #e8c068; }

/* ============================================================
   DOCUMENT IMAGE COLUMN
   ============================================================ */
.res-doc-col {
  position: sticky;
  top: 120px;
}

.res-doc-frame {
  background: #161616;
  border-radius: 8px;
  padding: 12px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.04),
    0 32px 80px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.05);
}

.res-doc-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.res-doc-caption {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.38);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   PROMO PANELS (Club 28 + Next Level)
   ============================================================ */
.res-panels {
  background: linear-gradient(180deg, #0d0a06 0%, #0a0a0a 100%);
  border-top: 1px solid rgba(212,175,55,0.12);
  padding: clamp(64px, 7vw, 100px) 0;
}

.res-panels-headline {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  max-width: 1400px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  padding: 0 clamp(20px, 4vw, 40px);
  line-height: 1.1;
}

.res-panels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.res-panel {
  padding: clamp(28px, 2.5vw, 40px) clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #181410;
  border: 1px solid rgba(212,175,55,0.35);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.7), 0 0 40px rgba(212,175,55,0.08);
}

.res-panel-label {
  font-size: clamp(22px, 2.8vw, 32px);
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.res-panel-text {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  flex: 1;
}

.res-panel-btn {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 17px 40px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
  margin-top: 4px;
}

.res-panel-btn:hover {
  background: rgba(212,168,83,0.1);
  transform: translateY(-2px);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .res-main-inner {
    grid-template-columns: 1fr;
  }
  .res-doc-col {
    position: static;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .res-panels-grid {
    grid-template-columns: 1fr;
  }
  .res-subhead {
    font-size: clamp(16px, 4.5vw, 20px);
  }
}

@media (max-width: 640px) {
  .res-form-card {
    padding: 28px 20px;
  }
  .res-submit-btn {
    font-size: 15px;
    padding: 18px 20px;
  }
  .res-headline {
    font-size: clamp(28px, 9vw, 44px);
  }
}
