/* ─── PAGE HEADER (shared styles from artists.css) ─── */
.page-header {
  padding: 24px var(--page-px) 24px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(200,255,46,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(46,248,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; }
.page-title-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -0.03em;
}
.page-title span {
  background: linear-gradient(135deg, var(--accent-lime), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-subtitle { font-size: 0.88rem; color: var(--text-muted); margin-top: 6px; }

/* ─── LAYOUT ─── */
.contacts-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 24px;
  padding: 28px var(--page-px) 48px;
  align-items: stretch;
}

/* ─── SHARED CARD ─── */
.contacts-card,
.map-card,
.feedback-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.contacts-left {
  display: flex;
  flex-direction: column;
}
.contacts-left .contacts-card {
  flex: 1;
}
.contacts-right {
  display: flex;
  flex-direction: column;
}
.contacts-right .feedback-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#feedbackForm {
  display: flex;
  flex-direction: column;
  flex: 1;
}
#feedbackForm .btn-send {
  margin-top: auto;
}

.contacts-card-title,
.map-card-title,
.feedback-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-lime);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

/* ─── CONTACT ITEMS ─── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: none; }

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-lime);
}
.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}
a.contact-value:hover { color: var(--accent-lime); }
.contact-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── SOCIALS ─── */
.contacts-socials {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.social-btn:hover {
  border-color: #4a76a8;
  color: #7ca0d0;
  background: rgba(74,118,168,0.08);
}

/* ─── MAP ─── */
.map-card {
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  grid-column: 1 / -1;
}

.map-canvas {
  width: 100%;
  height: 400px;
  position: relative;
  background: #1a1f2e;
  border-radius: 20px;
  overflow: hidden;
}

/* Leaflet overrides */
.map-canvas .leaflet-container {
  width: 100% !important;
  height: 100% !important;
  background: #1a1f2e;
}
.map-canvas .leaflet-control-zoom {
  border: none !important;
  margin: 0 12px 12px 0 !important;
}
.map-canvas .leaflet-control-zoom a {
  background: rgba(26, 23, 38, 0.9) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: var(--text-muted) !important;
  backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s;
}
.map-canvas .leaflet-control-zoom a:hover {
  color: var(--accent-lime) !important;
  border-color: var(--accent-lime) !important;
  background: rgba(26, 23, 38, 0.95) !important;
}

/* Кастомный маркер */
.lv-marker {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lv-marker-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-lime, #c8ff2e);
  box-shadow: 0 0 0 4px rgba(200,255,46,0.25), 0 0 20px rgba(200,255,46,0.7);
  position: relative;
  z-index: 2;
}
.lv-marker-ring {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2.5px solid rgba(200, 255, 46, 0.5);
  animation: markerPulse 1.8s ease-out infinite;
}
.lv-marker-ring2 {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 255, 46, 0.2);
  animation: markerPulse 1.8s ease-out infinite;
  animation-delay: 0.4s;
}
@keyframes markerPulse {
  0%   { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* Бейдж с адресом поверх карты */
.map-overlay-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 15, 26, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 255, 46, 0.2);
  border-radius: 14px;
  padding: 10px 14px;
  pointer-events: none;
}
.map-overlay-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(200, 255, 46, 0.1);
  border: 1px solid rgba(200, 255, 46, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-lime);
}
.map-overlay-icon svg { width: 16px; height: 16px; }
.map-overlay-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary, #f0eef6);
  white-space: nowrap;
}
.map-overlay-addr {
  font-size: 0.74rem;
  color: var(--text-muted, #9892a6);
  margin-top: 2px;
  white-space: nowrap;
}

/* Кнопка открыть в картах */
.map-ext-btn {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(17, 15, 26, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary, #c4b8d8);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.map-ext-btn:hover {
  border-color: var(--accent-cyan, #2ef8ff);
  color: var(--accent-cyan, #2ef8ff);
}
.map-ext-btn svg { width: 13px; height: 13px; }

/* ─── FEEDBACK FORM ─── */
.feedback-sub {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body, 'DM Sans', system-ui);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-lime);
}
.form-field select option { background: var(--bg-card); }
.form-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  padding: 15px 28px;
  background: var(--accent-lime);
  color: #000;
  border: none;
  border-radius: 50px;
  font-family: var(--font-display, 'Unbounded', system-ui);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 4px;
}
.btn-send:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-send svg { width: 16px; height: 16px; }

/* ─── SUCCESS STATE ─── */
.feedback-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.feedback-success.show { display: block; }
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200,255,46,0.12);
  border: 2px solid rgba(200,255,46,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-lime);
  margin: 0 auto 20px;
}
.success-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-lime);
  margin-bottom: 10px;
}
.success-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .contacts-layout {
    grid-template-columns: 1fr;
    padding: 20px 16px 40px;
    gap: 16px;
  }
  .form-row2 { grid-template-columns: 1fr; }
  .map-wrap { height: 240px; }
}
