/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT & ATTRIBUTIONS — Contact form redesign, info columns, map embed.
                            Attributions page.
   Edit here for Contact or Attributions page changes only.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── ATTRIBUTIONS PAGE ── */
.attr-list {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid #e2e6f0; border-radius: 8px; overflow: hidden;
}
.attr-item {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 24px; padding: 28px 36px;
  border-bottom: 1px solid #e2e6f0;
  align-items: center;
  transition: background 0.2s;
  background: #fff;
}
.attr-item:last-child { border-bottom: none; }
.attr-item:hover { background: #f4f7ff; }
.attr-icon-wrap {
  width: 52px; height: 52px; flex-shrink: 0;
  background: #eef3ff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.attr-icon-img { width: 30px; height: 30px; object-fit: contain; }
.attr-name { font-weight: 700; font-size: 1rem; color: #0d1a1b; margin-bottom: 4px; }
.attr-usage { font-size: 0.85rem; color: rgba(13,26,27,0.5); margin-bottom: 6px; }
.attr-credit { font-size: 0.83rem; color: rgba(13,26,27,0.6); }
.attr-credit a { color: #326BCD; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.attr-credit a:hover { border-bottom-color: #326BCD; }
@media (max-width: 680px) {
  .attr-item { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
}
/* ── END ATTRIBUTIONS PAGE ── */

/* ────────────────────────────────────────────
   CONTACT PAGE
──────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 380px 1fr;
  gap: 0; min-height: 70vh;
}
.contact-sidebar {
  background: #59888B;
  padding: 64px 48px;
  display: flex; flex-direction: column; gap: 0;
  position: relative; overflow: hidden;
}
.contact-sidebar::before {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700; color: white;
  margin-bottom: 16px; line-height: 1.2;
}
.contact-sidebar-sub {
  font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.75;
  margin-bottom: 48px;
}
.contact-info-item {
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #326BCD; margin-bottom: 6px;
}
.contact-info-val { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.next-steps-block { margin-top: 40px; }
.next-steps-title {
  font-weight: 600; font-size: 0.85rem; color: rgba(255,255,255,0.9);
  margin-bottom: 16px; letter-spacing: 0.02em;
}
.next-step-row {
  display: flex; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.next-step-row:last-child { border-bottom: none; }
.ns-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: #1a2a2b; color: white;
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.ns-text { font-size: 0.83rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

.contact-form-area { padding: 64px; background: #f2f5f5; }
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em;
}
.form-sub { font-size: 0.9rem; color: var(--ink-60); margin-bottom: 36px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: var(--ink-60); margin-bottom: 7px; letter-spacing: 0.02em;
}
.form-input, .form-textarea {
  width: 100%; background: white;
  border: 1.5px solid var(--border); border-radius: 2px;
  color: var(--ink); font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; padding: 11px 14px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(50,107,205,0.1);
}
.form-textarea { resize: vertical; min-height: 110px; }

.form-checkboxes {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px; margin-top: 4px;
}
.cb-label {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.84rem; color: var(--ink-60); cursor: pointer;
  padding: 6px 0;
}
.cb-label input[type="checkbox"] {
  appearance: none; width: 16px; height: 16px; min-width: 16px;
  border: 1.5px solid var(--border); border-radius: 2px;
  background: white; cursor: pointer; position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.cb-label input[type="checkbox"]:checked {
  background: #1a2a2b; border-color: var(--blue);
}
.cb-label input[type="checkbox"]:checked::after {
  content: '✓'; position: absolute; top: -2px; left: 2px;
  font-size: 11px; color: white; font-weight: 700;
}
.btn-submit {
  width: 100%; margin-top: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em;
  color: white; background: #1a2a2b;
  border: none; padding: 15px; cursor: pointer;
  transition: background 0.2s, transform 0.15s; border-radius: 2px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Toast */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: #1a2a2b; color: white;
  font-size: 0.85rem; font-weight: 500;
  padding: 14px 24px; border-radius: 4px;
  box-shadow: 0 8px 24px rgba(50,107,205,0.3);
  transform: translateY(60px); opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.1rem; }


/* ── CONTACT PAGE REDESIGN ──────────────────────── */
.contact-redesign {
  background: #0f1117;
  position: relative; overflow: hidden;
}
.contact-redesign::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 20%, rgba(50,107,205,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(136,171,60,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(50,107,205,0.05) 0%, transparent 50%);
}
.contact-redesign .cr-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 64px 100px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; position: relative; z-index: 1;
}
.contact-redesign .cr-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #88AB3C;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.contact-redesign .cr-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: #88AB3C;
}
.contact-redesign .cr-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 700; line-height: 1.2; color: #fff;
  margin-bottom: 12px;
}
.contact-redesign .cr-h2 em { font-style: italic; color: #88AB3C; }
.contact-redesign .cr-sub {
  font-size: 0.92rem; color: rgba(255,255,255,0.5);
  line-height: 1.7; margin-bottom: 40px;
}

/* Form */
.contact-redesign .cr-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.contact-redesign .cr-fg { display: flex; flex-direction: column; gap: 8px; }
.contact-redesign .cr-fg.full { grid-column: 1 / -1; }
.contact-redesign .cr-fg label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.contact-redesign .cr-fg input,
.contact-redesign .cr-fg select,
.contact-redesign .cr-fg textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 14px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem; color: #fff;
  transition: border-color 0.2s, background 0.2s;
  outline: none; resize: none; width: 100%;
}
.contact-redesign .cr-fg input::placeholder,
.contact-redesign .cr-fg textarea::placeholder { color: rgba(255,255,255,0.25); }
.contact-redesign .cr-fg input:focus,
.contact-redesign .cr-fg select:focus,
.contact-redesign .cr-fg textarea:focus {
  border-color: #326BCD; background: rgba(50,107,205,0.06);
}
.contact-redesign .cr-fg select option { background: #0f1117; color: #fff; }
.contact-redesign .cr-fg textarea { min-height: 130px; }
.contact-redesign .cr-btn-submit {
  width: 100%; margin-top: 8px;
  background: #326BCD; color: #fff;
  border: none; border-radius: 6px; padding: 16px 32px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.contact-redesign .cr-btn-submit:hover { background: #2558b0; transform: translateY(-1px); }
.contact-redesign .cr-btn-submit .arrow { transition: transform 0.2s; }
.contact-redesign .cr-btn-submit:hover .arrow { transform: translateX(4px); }

/* Info panel */
.contact-redesign .cr-info { display: flex; flex-direction: column; gap: 48px; padding-top: 8px; }
.contact-redesign .cr-info-intro {
  font-size: 0.92rem; color: rgba(255,255,255,0.5); line-height: 1.7;
}
.contact-redesign .cr-details { display: flex; flex-direction: column; gap: 0; }
.contact-redesign .cr-detail-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact-redesign .cr-detail-item:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.contact-redesign .cr-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(50,107,205,0.25), rgba(50,107,205,0.08));
  border: 1px solid rgba(50,107,205,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-redesign .cr-detail-text { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.contact-redesign .cr-detail-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.contact-redesign .cr-detail-value { font-size: 0.95rem; font-weight: 600; color: #fff; }
.contact-redesign .cr-detail-value a { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-redesign .cr-detail-value a:hover { color: #88AB3C; }
.contact-redesign .cr-social-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 16px;
}
.contact-redesign .cr-social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-redesign .cr-social-link {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; color: rgba(255,255,255,0.75);
  text-decoration: none; font-size: 0.82rem; font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.contact-redesign .cr-social-link:hover {
  border-color: rgba(50,107,205,0.5); background: rgba(50,107,205,0.1); color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-redesign .cr-inner { padding: 64px 40px 80px; gap: 56px; }
}
@media (max-width: 900px) {
  .contact-redesign .cr-inner { grid-template-columns: 1fr; gap: 64px; padding: 64px 40px 72px; }
}
@media (max-width: 680px) {
  .contact-redesign .cr-inner { padding: 56px 24px 64px; }
  .contact-redesign .cr-form-grid { grid-template-columns: 1fr; }
}
/* ── END CONTACT PAGE REDESIGN ────────────────── */
