/* ==========================================================================
   Reyuko — contact.html only
   Replaces the page's old bespoke palette (#6b7690 at 3.97:1, plus a #2563eb
   blue that was never the brand accent) with the shared tokens.
   Bump ?v= when editing — /assets/* is cached for 4 hours.
   ========================================================================== */

.contact-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 40px; align-items: start; margin-top: -40px;
  position: relative; z-index: 3;
}

/* ── Form panel ──────────────────────────────────────────────────────────── */
.form-panel {
  background: var(--bg-card); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 30px 30px 28px;
  box-shadow: 0 12px 40px rgba(14, 63, 163, 0.13);
}
.form-panel h2 { margin: 0 0 6px; font-size: 21px; }
.form-panel .form-lead {
  margin: 0 0 20px; font-size: 14.5px; line-height: 1.6; color: var(--text-secondary);
}

.contact-form label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text-primary); margin: 16px 0 6px; letter-spacing: 0.01em;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  color: var(--text-primary); background: var(--bg-card);
  border: 1px solid var(--stroke-strong, rgba(0, 57, 140, 0.22));
  border-radius: 9px; box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-tertiary); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 111, 219, 0.15);
}
.contact-form textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.contact-form button {
  margin-top: 22px; width: 100%;
  background: var(--accent); color: #fff; border: none; border-radius: 9px;
  padding: 14px 26px; font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background .15s;
}
.contact-form button:hover:not(:disabled) { background: var(--accent-hover); }
.contact-form button:disabled { opacity: 0.65; cursor: default; }

/* honeypot — must stay off-screen but focusable-free for bots */
.hp { position: absolute; left: -9999px; }

.form-note { margin: 16px 0 0; font-size: 14.5px; line-height: 1.6; }
.form-note.ok { color: #15803D; }
.form-note.err { color: #B91C1C; }

/* ── Side cards ──────────────────────────────────────────────────────────── */
.contact-card {
  background: var(--bg-card); border: 1px solid var(--stroke);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px;
  display: flex; gap: 14px; align-items: flex-start;
}
.contact-card .ic {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: #EDF4FF; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .ic svg { width: 17px; height: 17px; }
.contact-card h3 {
  margin: 0 0 3px; font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary);
}
.contact-card p, .contact-card a {
  margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-primary);
}
.contact-card a { color: var(--accent-dark); font-weight: 600; }
.contact-card .sub { font-size: 13px; color: var(--text-secondary); margin-top: 3px; }

.map-embed {
  width: 100%; height: 260px; border: 0; display: block;
  border-radius: var(--radius); border: 1px solid var(--stroke);
}

/* ── Self-serve first ────────────────────────────────────────────────────── */
.selfserve {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 28px;
}
.selfserve a {
  display: block; background: var(--bg-card); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 20px 22px;
  transition: border-color .15s, transform .15s;
}
.selfserve a:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.selfserve h3 { margin: 0 0 5px; font-size: 16px; color: var(--text-primary); }
.selfserve p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 24px; }
}
