/* ════════════════════════════════════════
   CONTACT PAGE — Kallol Entertainment
════════════════════════════════════════ */

/* ── Page hero ── */
.contact-hero {
  margin-top: var(--hh);
  background: radial-gradient(ellipse 120% 100% at 60% 0%, #2d1008 0%, #1a0803 40%, #0d0a08 100%);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.contact-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(117,34,28,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(254,193,8,.05) 0%, transparent 55%);
  pointer-events: none;
}
[data-theme="light"] .contact-hero {
  background: radial-gradient(ellipse 120% 100% at 60% 0%, #e6dfd5 0%, #f0ebe2 50%, #faf7f2 100%);
}
[data-theme="light"] .contact-hero::before {
  background: radial-gradient(ellipse 50% 60% at 80% 20%, rgba(117,34,28,.06) 0%, transparent 60%);
}
.contact-hero-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 720px; margin: 0 auto;
}
.contact-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: .6rem; margin-bottom: 1rem;
}
.contact-eyebrow-txt {
  font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.contact-page-title {
  font-family: var(--font-d); font-weight: 700; letter-spacing: -.02em; color: var(--text-primary);
}
.contact-lead {
  color: var(--text-secondary); font-size: clamp(.95rem, 1.5vw, 1.1rem); line-height: 1.75; max-width: 560px; margin: 0 auto;
}

/* ── Form section ── */
.contact-form-section { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem 4rem;
  align-items: start;
}

/* ── Form card ── */
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3rem);
}

.cf-row { display: flex; gap: 1.25rem; margin-bottom: 1.25rem; }
.cf-row-2 > .cf-field { flex: 1; }
.cf-field { display: flex; flex-direction: column; flex: 1; }

.cf-label {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .45rem;
}
.cf-req  { color: var(--gold); }
.cf-opt  { color: var(--text-faint); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .72rem; }

.cf-input {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-family: var(--font-b); font-size: .92rem;
  padding: .72rem 1rem;
  transition: border-color 200ms, box-shadow 200ms;
  outline: none; width: 100%;
}
.cf-input::placeholder { color: var(--text-faint); }
.cf-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.cf-input.cf-input-err { border-color: #e05252; }
.cf-input.cf-input-err:focus { box-shadow: 0 0 0 3px rgba(224,82,82,.18); }
.cf-textarea { resize: vertical; min-height: 130px; }

[data-theme="light"] .cf-input { background: #fff; }

.cf-err {
  display: none; font-size: .75rem; color: #e05252; margin-top: .35rem;
}

.cf-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem;
}

/* Hide the floating reCAPTCHA badge — branding kept via .cf-recaptcha-note text (Google policy compliant) */
.grecaptcha-badge { visibility: hidden !important; }

.cf-recaptcha-note {
  font-size: .7rem; color: var(--text-faint); line-height: 1.5;
}
.cf-recaptcha-note a { color: var(--text-muted); text-decoration: underline; }
.cf-recaptcha-note a:hover { color: var(--text-primary); }

/* Submit button spinner */
.cf-submit { position: relative; min-width: 160px; }
.cf-btn-spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,.25); border-top-color: #000;
  animation: cfSpin .7s linear infinite;
  position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
}
.cf-submit.loading .cf-btn-label { opacity: 0; }
.cf-submit.loading .cf-btn-spinner { display: block; }
@keyframes cfSpin { to { transform: translateY(-50%) rotate(360deg); } }

/* Status banner */
.cf-status {
  display: none; margin-top: 1.25rem; padding: .85rem 1.1rem;
  border-radius: var(--r-md); font-size: .88rem; line-height: 1.55;
}
.cf-status-ok  { display: block; background: rgba(46,160,67,.12); border: 1px solid rgba(46,160,67,.3); color: #4caf50; }
.cf-status-err { display: block; background: rgba(224,82,82,.1);  border: 1px solid rgba(224,82,82,.25); color: #e05252; }

/* ── Side info ── */
.contact-info-title {
  font-family: var(--font-d); font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700; letter-spacing: -.02em; color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.ci-socials { display: flex; gap: .65rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ci-response-note { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info { order: -1; }
}
@media (max-width: 600px) {
  .cf-row-2 { flex-direction: column; }
  .cf-footer { flex-direction: column; align-items: stretch; }
  .cf-submit { width: 100%; justify-content: center; }
}
