/* ══════════════════════════════════════════════════════════
   CITREA — Contact Page Premium  (ct-*)
   Fully namespaced. Zero Bootstrap conflicts.
   ══════════════════════════════════════════════════════════ */

/* ── 1. CSS Custom Properties ── */
.contact-page {
  --ct-accent:      #F7E468;
  --ct-green:       #007136;
  --ct-green-mid:   #22cc66;
  --ct-bg:          #07070b;
  --ct-card-bg:     rgba(10, 10, 16, 0.88);
  --ct-border:      rgba(255,255,255,0.07);
  --ct-border-soft: rgba(255,255,255,0.04);
  --ct-text:        #adb5bd;
  --ct-text-hi:     #f1f3f5;
  --ct-text-dim:    #6c757d;
  --ct-radius:      22px;
  --ct-radius-sm:   14px;
  --ct-shadow:      0 24px 72px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.25);
  --ct-shadow-sm:   0 8px 32px rgba(0,0,0,0.3);
}

/* ── 2. Page shell ── */
.contact-page {
  position: relative;
  overflow-x: hidden;
  background: var(--ct-bg);
}

/* ── 3. Hero ── */
.ct-hero {
  position: relative;
  padding: 148px 0 80px;
  overflow: hidden;
}

/* Decorative blobs */
.ct-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.ct-blob--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(247,228,104,0.12) 0%, transparent 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-30%);
}

.ct-blob--2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0,113,54,0.14) 0%, transparent 70%);
  top: 40px;
  right: -80px;
}

.ct-orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(247,228,104,0.055) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(0,113,54,0.06) 0%, transparent 55%);
  z-index: 0;
}

/* Top accent line */
.ct-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,113,54,0.5) 20%,
    rgba(247,228,104,0.45) 50%,
    rgba(0,113,54,0.5) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.ct-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Eyebrow */
.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  padding: 7px 16px;
  border: 1px solid rgba(247,228,104,0.22);
  border-radius: 999px;
  background: rgba(247,228,104,0.06);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ct-accent);
}

.ct-eyebrow .bi { font-size: 12px; }

/* Title */
.ct-title {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ct-text-hi);
}

.ct-title-accent {
  background: linear-gradient(100deg, var(--ct-accent) 0%, #ffe87a 40%, var(--ct-green-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.ct-subtitle {
  margin: 0 auto 36px;
  max-width: 680px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.72;
  color: var(--ct-text);
  font-weight: 400;
}

/* Scroll hint */
.ct-scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
}

.ct-scroll-hint span {
  display: block;
  width: 1.5px;
  height: 40px;
  background: linear-gradient(180deg, rgba(247,228,104,0.6), transparent);
  border-radius: 999px;
}

/* ── 4. Main section ── */
.ct-main {
  padding: 0 0 100px;
}

/* ── 5. Cards ── */
.ct-card {
  position: relative;
  border: 1px solid var(--ct-border);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.008) 100%),
    var(--ct-card-bg);
  border-radius: var(--ct-radius);
  box-shadow: var(--ct-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

/* Accent top border */
.ct-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ct-green) 0%, var(--ct-accent) 55%, transparent 100%);
  border-radius: 999px;
  opacity: 0.6;
}

.ct-card--form {
  padding: 36px 32px 32px;
}

.ct-card--side {
  padding: 28px 24px 26px;
}

.ct-card--trust {
  padding: 24px;
  margin-top: 16px;
}

/* Card header */
.ct-card-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ct-border-soft);
}

.ct-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0,113,54,0.22) 0%, rgba(247,228,104,0.1) 100%);
  border: 1px solid rgba(247,228,104,0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ct-accent);
}

.ct-card-title {
  margin: 0 0 6px;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ct-text-hi);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ct-card-text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #6c757d;
}

/* ── 6. Form ── */
.ct-form { width: 100%; }

.ct-field {
  position: relative;
}

/* Label */
.ct-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #dee2e6;
  letter-spacing: 0.01em;
}

.ct-label--block {
  display: flex;
  margin-bottom: 14px;
}

.ct-label .bi {
  font-size: 13px;
  color: var(--ct-accent);
  opacity: 0.75;
}

/* Input / textarea */
.ct-input {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: var(--ct-radius-sm);
  background: rgba(255,255,255,0.028);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--ct-text-hi);
  font-family: 'Poppins', sans-serif;
  font-size: 0.96rem;
  line-height: 1.5;
  outline: none;
  box-shadow: none;
  transition:
    border-color 0.25s ease,
    background   0.25s ease,
    box-shadow   0.25s ease;
}

.ct-input::placeholder { color: #3d4349; }

.ct-input:focus {
  background: rgba(255,255,255,0.042);
  border-color: rgba(247,228,104,0.5);
  box-shadow: 0 0 0 4px rgba(247,228,104,0.07), 0 2px 12px rgba(247,228,104,0.06);
  color: #fff;
}

.ct-textarea {
  min-height: 140px;
  resize: vertical;
}

/* Animated underline */
.ct-input-line {
  position: absolute;
  bottom: 1px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--ct-green), var(--ct-accent));
  border-radius: 0 0 var(--ct-radius-sm) var(--ct-radius-sm);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ── 7. Interest chips ── */
.ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ct-chip-wrap {
  position: relative;
  cursor: pointer;
}

.ct-chip-wrap input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ct-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: #9aa0aa;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition:
    background     0.22s ease,
    border-color   0.22s ease,
    color          0.22s ease,
    box-shadow     0.22s ease;
}

.ct-chip .bi { font-size: 13px; }

.ct-chip-wrap:hover .ct-chip {
  border-color: rgba(247,228,104,0.3);
  color: #dee2e6;
  background: rgba(247,228,104,0.05);
}

.ct-chip-wrap input:checked + .ct-chip {
  background: var(--ct-accent);
  border-color: var(--ct-accent);
  color: #0b0b0f;
  box-shadow: 0 6px 20px rgba(247,228,104,0.2);
}

.ct-chip-wrap input:focus-visible + .ct-chip {
  outline: 2px solid var(--ct-accent);
  outline-offset: 3px;
}

/* ── 8. Turnstile ── */
.ct-turnstile {
  display: flex;
  justify-content: flex-start;
  padding: 4px 0;
}

/* ── 9. Alert messages ── */
.ct-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--ct-radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ct-text);
}

.ct-alert .bi { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.ct-alert p   { margin: 0; }

.ct-alert--success { border-color: rgba(34,204,102,0.25); background: rgba(34,204,102,0.06); }
.ct-alert--success .bi { color: var(--ct-green-mid); }
.ct-alert--error   { border-color: rgba(255,90,90,0.25);  background: rgba(255,90,90,0.06); }
.ct-alert--error .bi   { color: #ff5a5a; }

/* ── 10. Submit ── */
.ct-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ct-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  min-height: 56px;
  padding: 0 32px;
  border: none;
  border-radius: 16px;
  background: var(--ct-accent);
  color: #0b0b0f;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform   0.22s ease,
    box-shadow  0.22s ease,
    filter      0.22s ease;
  box-shadow: 0 10px 28px rgba(247,228,104,0.18);
}

.ct-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(247,228,104,0.26);
  filter: brightness(1.04);
}

.ct-submit:focus-visible {
  outline: 2px solid var(--ct-accent);
  outline-offset: 3px;
}

.ct-submit-text { position: relative; z-index: 1; }

.ct-submit-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  font-size: 16px;
}

/* Glow ring for GSAP pulse */
.ct-submit-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(247,228,104,0.35);
  transform-origin: center;
  pointer-events: none;
}

.ct-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 14px 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #3d4349;
}

.ct-note .bi {
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
  color: #3d4349;
}

/* ── 11. Sidebar ── */
.ct-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 90px;
}

/* Side card title */
.ct-side-title {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ct-text-hi);
  letter-spacing: -0.02em;
}

/* Side list */
.ct-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ct-side-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #adb5bd;
  font-size: 0.94rem;
  line-height: 1.65;
}

.ct-side-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, rgba(0,113,54,0.18) 0%, rgba(247,228,104,0.08) 100%);
  border: 1px solid rgba(247,228,104,0.12);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ct-accent);
  margin-top: 2px;
}

/* Trust card */
.ct-trust-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ct-trust-strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ct-text-hi);
}

.ct-trust-text {
  font-size: 0.91rem;
  line-height: 1.68;
  color: #6c757d;
}

.ct-trust-sep {
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.07), transparent);
  margin: 16px 0;
}

.ct-trust-highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--ct-radius-sm);
  background: linear-gradient(135deg, rgba(247,228,104,0.07) 0%, rgba(0,113,54,0.05) 100%);
  border: 1px solid rgba(247,228,104,0.15);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(247,228,104,0.85);
  line-height: 1.6;
}

.ct-trust-highlight .bi {
  font-size: 16px;
  color: var(--ct-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── 12. Badge ── */
.ct-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(34,204,102,0.18);
  background: rgba(34,204,102,0.05);
}

.ct-badge-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ct-green-mid);
  box-shadow: 0 0 0 4px rgba(34,204,102,0.15), 0 0 12px rgba(34,204,102,0.3);
}

.ct-badge strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ct-text-hi);
  margin-bottom: 2px;
}

.ct-badge span {
  font-size: 0.84rem;
  color: #6c757d;
}

/* ── 13. Focus states ── */
.ct-input:focus-visible,
.ct-submit:focus-visible {
  outline: 2px solid var(--ct-accent);
  outline-offset: 3px;
}

/* ── 14. Responsive — tablet ── */
@media (max-width: 991px) {
  .ct-hero {
    padding: 116px 0 56px;
  }

  .ct-sidebar {
    position: static;
    margin-top: 0;
  }

  .ct-card--form {
    padding: 26px 20px 22px;
    border-radius: 18px;
  }

  .ct-card--side,
  .ct-card--trust {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .ct-actions {
    align-items: center;
  }

  .ct-submit {
    width: 100%;
    max-width: 100%;
  }

  .ct-turnstile {
    justify-content: center;
  }

  .ct-note {
    text-align: center;
    justify-content: center;
  }
}

/* ── 15. Responsive — mobile ── */
@media (max-width: 575px) {
  .ct-hero {
    padding: 100px 0 40px;
  }

  .ct-title {
    font-size: 2.2rem;
    letter-spacing: -0.025em;
  }

  .ct-subtitle {
    font-size: 0.99rem;
  }

  .ct-card--form {
    padding: 20px 16px 18px;
    border-radius: 16px;
  }

  .ct-chips {
    gap: 8px;
  }

  .ct-chip {
    width: 100%;
    border-radius: 12px;
    justify-content: flex-start;
  }

  .ct-chip-wrap {
    width: 100%;
  }

  .ct-turnstile {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .ct-card-header {
    flex-direction: column;
    gap: 12px;
  }
}
