﻿:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #1a1f29;
  --muted: #5c6b7d;
  --primary: #d31027;
  --border: #dfe3eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-logo {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.brand-subtitle {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  background: linear-gradient(180deg, rgba(211, 16, 39, 0.18), rgba(245, 247, 251, 0.95));
  padding: 3rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 920px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.hero p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: 1rem;
}

.main-content {
  padding: 2rem;
  display: grid;
  gap: 2rem;
}

.search-panel,
.list-section,
.contact-section {
  width: 100%;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.05);
}

.panel h2 {
  margin-top: 0;
}

.search-panel input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.filter-row button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-row button.active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.selection-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
}

.selection-card h3 {
  margin: 0 0 0.75rem;
}

.selection-card p {
  margin: 0;
  color: var(--muted);
}

.map-section {
  min-height: 560px;
}

#map-container {
  width: 100%;
  min-height: 560px;
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.location-list {
  display: grid;
  gap: 1rem;
}

.location-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.location-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.location-card h3 {
  margin: 0 0 0.5rem;
}

.location-card p {
  margin: 0.3rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.button-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: white;
  cursor: pointer;
  font-weight: 600;
}

.site-footer {
  text-align: center;
  padding: 1.25rem 2rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .main-content {
    padding: 1.25rem;
  }
}

@media (max-width: 640px) {
  .filter-row {
    flex-direction: column;
  }

  .map-section {
    min-height: 420px;
  }

  #map-container {
    height: 420px;
  }
}
