/* ============================================================
   BEYOND THE SERP — contact.css
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   PAGE HERO
───────────────────────────────────────────────────────────── */
.contact-hero-eyebrow {
  margin-bottom: 12px;
}

.contact-hero-heading {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  max-width: 860px;
}

.contact-hero-intro {
  margin-top: 20px;
  max-width: 560px;
  font-size: 1.1rem;
  color: hsl(263, 50%, 12%, 0.7);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────────────────────
   CONTACT BODY SECTION
───────────────────────────────────────────────────────────── */
.contact-body-section {
  padding: 20px 0 120px;
}

/* ─────────────────────────────────────────────────────────────
   REQUIRED FIELD ASTERISK
───────────────────────────────────────────────────────────── */
.form-required-mark {
  color: var(--primary);
}

/* ─────────────────────────────────────────────────────────────
   FORM WRAPPER CARD
───────────────────────────────────────────────────────────── */
.contact-form-card {
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
}

.contact-form-card .form-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-form-card .form-heading svg {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-form-card .form-heading h2 {
  font-size: 1.4rem;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   FORM FIELDS
───────────────────────────────────────────────────────────── */
.form-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: hsl(263, 50%, 12%, 0.6);
  margin-bottom: 8px;
}

.form-field {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--background);
  border: 1px solid var(--border);
  font-family: 'Mulish', sans-serif;
  font-size: 0.9rem;
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(263, 73%, 52%, 0.15);
}

.form-field::placeholder {
  color: hsl(263, 50%, 12%, 0.35);
}

textarea.form-field {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
  min-height: 140px;
}

select.form-field {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a0f3c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ─────────────────────────────────────────────────────────────
   SUCCESS STATE
───────────────────────────────────────────────────────────── */
.contact-success {
  display: none;
  text-align: center;
  padding: 48px 0;
}

.contact-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: hsl(263, 73%, 52%, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.contact-success h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.contact-success p {
  color: hsl(263, 50%, 12%, 0.65);
  max-width: 400px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   SIDEBAR CARDS
───────────────────────────────────────────────────────────── */
.sidebar-card {
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 32px);
}

.sidebar-card svg {
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.sidebar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.sidebar-card p {
  color: hsl(263, 50%, 12%, 0.65);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.sidebar-email-link {
  color: hsl(263, 50%, 12%, 0.8);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
  word-break: break-all;
}

.sidebar-email-link:hover {
  color: var(--primary);
}

.sidebar-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: hsl(263, 50%, 12%, 0.55);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   CALENDLY PLACEHOLDER (shown when no Calendly URL is set)
───────────────────────────────────────────────────────────── */
.calendly-placeholder {
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
  background: hsl(243, 100%, 97%, 0.4);
  padding: 24px;
  text-align: center;
}

.calendly-placeholder .eyebrow {
  margin-bottom: 8px;
  text-align: center;
  justify-content: center;
}

.calendly-placeholder p {
  font-size: 0.875rem;
  color: hsl(263, 50%, 12%, 0.55);
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────
   ALIASES
───────────────────────────────────────────────────────────── */
.contact-form-heading {
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.contact-sidebar-block {
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 32px);
  background: var(--gradient-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.contact-sidebar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: hsl(263, 50%, 12%, 0.6);
  margin-bottom: 12px;
}

.contact-sidebar-label svg {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-sidebar-link {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 8px;
  word-break: break-all;
}

.contact-sidebar-link:hover {
  color: var(--primary);
}

.contact-sidebar-note {
  margin-top: 12px;
  font-size: 0.875rem;
  color: hsl(263, 50%, 12%, 0.55);
  line-height: 1.6;
}
