/* ==========================================================================
   SNUSLAB — Contact page
   (header styles come from sl-legal.css, loaded alongside)
   ========================================================================== */

.sl-contact {
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px 20px 60px;
}
.sl-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

/* ---------- info column ---------- */
.sl-contact-info {
  background: #f4f5f6;
  border: 1px solid #e4e6e8;
  border-radius: 14px;
  padding: 6px 20px;
}
.sl-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}
.sl-contact-row + .sl-contact-row { border-top: 1px solid #e4e6e8; }
.sl-contact-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e4e6e8;
  display: flex; align-items: center; justify-content: center;
  color: #0a0a0a;
}
.sl-contact-icon .sl-ic { width: 17px; height: 17px; }
.sl-contact-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sl-contact-text b { font-size: 13.5px; font-weight: 700; color: #0a0a0a; }
.sl-contact-text small { font-size: 12px; color: #6b7280; line-height: 1.45; }
.sl-contact-text a { font-size: 13.5px; color: #0a0a0a; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- form card ---------- */
.sl-contact-card {
  background: #ffffff;
  border: 1px solid #e4e6e8;
  border-radius: 14px;
  padding: 22px 20px;
}
.sl-contact-form { display: flex; flex-direction: column; gap: 14px; }
.sl-field-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.sl-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.sl-field > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #6b7280;
}
.sl-field > span em { font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; color: #9aa0a6; }

.sl-contact-form input[type="text"],
.sl-contact-form input[type="email"],
.sl-contact-form select,
.sl-contact-form textarea,
.sl-contact-form input[type="text"]:focus,
.sl-contact-form input[type="email"]:focus,
.sl-contact-form select:focus,
.sl-contact-form textarea:focus {
  width: 100%;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
  border: 1px solid #e4e6e8 !important;
  border-radius: 10px !important;
  padding: 11px 13px !important;
  font-size: 14px !important;
  font-family: inherit;
  box-shadow: none !important;
  outline: none !important;
}
.sl-contact-form input:focus,
.sl-contact-form select:focus,
.sl-contact-form textarea:focus { border-color: #0a0a0a !important; }
.sl-contact-form textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.sl-contact-form input::placeholder,
.sl-contact-form textarea::placeholder { color: #9aa0a6 !important; -webkit-text-fill-color: #9aa0a6 !important; }
.sl-contact-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #0a0a0a !important;
}

.sl-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #6b7280;
  cursor: pointer;
}
.sl-check input { margin-top: 3px; accent-color: #0a0a0a; flex-shrink: 0; width: 16px; height: 16px; }
.sl-check a { color: #0a0a0a; text-decoration: underline; text-underline-offset: 3px; }

.sl-contact-submit,
.sl-contact-submit:focus {
  align-self: flex-start;
  height: 48px;
  padding: 0 32px;
  border: none !important;
  border-radius: 999px !important;
  background: #0a0a0a !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .3px;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer;
}
.sl-contact-submit:hover { background: #2c2f33 !important; }

/* honeypot */
.sl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- notices ---------- */
.sl-contact-notice {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.sl-contact-notice b { display: block; margin-bottom: 2px; }
.sl-contact-notice--ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.sl-contact-notice--err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.sl-contact-notice a { color: inherit; text-decoration: underline; }

@media (min-width: 640px) {
  .sl-field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 880px) {
  .sl-contact-grid { grid-template-columns: 320px 1fr; gap: 24px; }
  .sl-contact-card { padding: 28px; }
}
