/* ══════════════════════════════════════════════════════
   contact.css — Snackery Labs contact page
══════════════════════════════════════════════════════ */

:root {
  --font-display: "Rubik", system-ui, sans-serif;
  --font-body:    "Work Sans", system-ui, sans-serif;
  --indigo-deep:  #101585;
  --indigo-mid:   #3f48d9;
  --indigo-light: #EDEEFF;
  --lemon:        #F4F73B;
  --cream:        #F6F4EA;
  --ink:          #0b0b0b;
}
body { font-family: var(--font-body); background: var(--cream); color: var(--ink); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); }

/* ── HERO ─────────────────────────────────────────── */
.contact-hero {
  background: var(--indigo-deep);
  padding: 180px 0 0;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,72,217,0.5) 0%, transparent 70%);
  pointer-events: none;
}
.contact-hero::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -60px;
  width: 360px; height: 360px;
  border-radius: 50% 40% 60% 30% / 40% 60% 40% 60%;
  background: rgba(244,247,59,0.07);
  pointer-events: none;
}
.contact-hero__inner {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 48px;
  position: relative; z-index: 1;
}
.contact-hero__label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 48px;
  display: block;
}
.contact-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.038em;
  color: #fff;
  max-width: 14ch;
  margin: 0 0 40px;
}
.contact-hero__headline em {
  font-style: italic;
  font-weight: 700;
  color: var(--lemon);
}
.contact-hero__lede {
  font-size: 20px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 50ch;
  margin: 0;
}
.contact-hero__lede strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.contact-hero__shelf {
  margin-top: 80px;
  background: var(--cream);
  border-radius: 24px 24px 0 0;
  height: 32px;
}

/* ── BODY ─────────────────────────────────────────── */
.contact-body {
  background: var(--cream);
  padding-block: 80px 120px;
}
.contact-body__inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 48px;
}

/* ── FORM HEADER ─────────────────────────────────── */
.contact-form-wrap .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--indigo-deep);
  margin-bottom: 20px;
}
.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--indigo-deep);
  margin: 0;
}
.contact-form-wrap h2 em { font-style: italic; color: var(--indigo-mid); }

/* ── FORM HEADER ROW (heading left, illo right) ──── */
.contact-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.contact-header-row h2 {
  margin: 0;
  flex: 1;
}
.contact-header-illo {
  flex-shrink: 0;
}
.contact-header-illo img {
  height: 90px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(16,21,133,0.10));
}
@media (max-width: 600px) {
  .contact-header-illo { display: none; }
}

/* ── FORM ─────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--indigo-deep);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(16,21,133,0.15);
  border-radius: 8px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  box-sizing: border-box;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(11,11,11,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--indigo-mid);
  box-shadow: 0 0 0 3px rgba(63,72,217,0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.form-group--full { grid-column: 1 / -1; }

/* ── INTENT CHIPS ─────────────────────────────────── */
.intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.intent-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1.5px solid rgba(16,21,133,0.18);
  background: #fff;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  color: rgba(11,11,11,0.6);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  user-select: none;
}
.intent-chip:hover { border-color: var(--indigo-mid); color: var(--indigo-deep); }
.intent-chip.is-selected {
  background: var(--indigo-light);
  border-color: var(--indigo-mid);
  color: var(--indigo-deep);
}

/* ── SUBMIT ROW ───────────────────────────────────── */
.form-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--indigo-deep);
  color: #fff;
  padding: 16px 28px;
  border-radius: 8px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn-submit:hover { background: var(--indigo-mid); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.form-fine {
  font-size: 14px;
  color: rgba(11,11,11,0.42);
  line-height: 1.5;
  margin: 0;
}

/* ── SUCCESS STATE ────────────────────────────────── */
.contact-success {
  text-align: center;
  padding: 64px 24px;
}
.contact-success__icon {
  width: 64px; height: 64px;
  background: var(--indigo-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--indigo-deep);
}
.contact-success h3 {
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--indigo-deep); margin: 0 0 12px;
}
.contact-success p { font-size: 17px; line-height: 1.65; color: rgba(11,11,11,0.6); margin: 0; }

/* ── MOBILE ───────────────────────────────────────── */
@media (max-width: 768px) {
  .contact-hero { padding-top: 120px; }
  .contact-hero__inner { padding-inline: 24px; }
  .contact-hero__lede { font-size: 18px; }
  .contact-body { padding-block: 56px 80px; }
  .contact-body__inner { padding-inline: 24px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-hero__headline { font-size: clamp(40px, 11vw, 64px); }
  .form-submit-row { flex-direction: column; align-items: flex-start; }
  .btn-submit { width: 100%; justify-content: center; }
}
