.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--primary-muted);
  color: #fff;
}

.btn-hero {
  background: #fff;
  color: #111;
}

.btn-ghost {
  background: #fff;
  color: #111;
  width: 100%;
  justify-content: flex-start;
  padding: 10px 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0d0d;
}

.service-card__media {
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__label {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 12px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card:hover .service-card__label {
  background: var(--primary-muted);
}

.value-prop h4 {
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 6px;
}

.value-prop p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.sale-band {
  background: var(--primary);
  padding: var(--space-4) 0;
  text-align: center;
}

.sale-band h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
  text-transform: none;
}

.sale-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.sale-form label {
  display: grid;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  text-align: left;
}

.sale-form input {
  min-width: 200px;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: #111;
}

.sale-form .btn {
  background: #fff;
  color: var(--primary);
  min-width: 140px;
}

.spoiler {
  border-top: 1px solid #222;
}

.spoiler__trigger {
  width: 100%;
}

.spoiler__panel {
  display: none;
  padding: var(--space-3) 0 var(--space-4);
  color: var(--text-muted);
}

.spoiler.is-open .spoiler__panel {
  display: block;
}

.spoiler__panel h2 {
  color: var(--primary);
  font-size: 1.1rem;
  margin: var(--space-3) 0 var(--space-2);
}

.carousel {
  position: relative;
}

.carousel__track {
  display: flex;
  overflow: hidden;
}

.carousel__slide {
  min-width: 100%;
  transition: opacity 0.35s ease;
}

.carousel__nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding: 0 8px;
}

.carousel__nav button {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.75);
  color: #fff;
  border: 1px solid #444;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
}

.carousel__dots button.is-active {
  background: var(--primary);
}

.partner-mark,
.review-mark {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.news-card {
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
}

.news-card img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.news-card__body {
  padding: 14px;
}

.news-card h3 {
  font-size: 14px;
  text-transform: none;
  margin-bottom: 8px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 80;
  display: none;
}

.overlay.is-open {
  display: block;
}

.panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 100%);
  height: 100%;
  background: #121212;
  z-index: 90;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  border-left: 1px solid #333;
}

.panel.is-open {
  transform: translateX(0);
}

.panel h4 {
  margin-bottom: 16px;
  color: var(--primary);
}

.panel label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.panel input,
.panel textarea {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
}

.chat-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 700px) {
  .sale-form input {
    min-width: 0;
    width: 100%;
  }
}

.tab-bar,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 24px;
}

.tab-bar button,
.filter-bar a,
.filter-bar button {
  padding: 8px 14px;
  border: 1px solid #333;
  border-radius: var(--radius);
  background: #151515;
  color: #ddd;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tab-bar button.is-active,
.filter-bar a.is-active,
.filter-bar button.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.tab-panel[hidden] {
  display: none;
}

.price-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #111;
  border-radius: var(--radius);
  border: 1px solid #222;
}

.price-card h4 {
  color: #fff;
  font-size: 14px;
  text-transform: none;
}

.price-card .price {
  color: var(--primary-muted);
  font-weight: 700;
  white-space: nowrap;
}

.price-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: #999;
  font-size: 13px;
}

.map-hero {
  min-height: 280px;
  background: #1a2438 center/cover no-repeat;
  display: grid;
  place-items: end stretch;
  margin-bottom: 0;
}

.map-hero__bar {
  background: rgba(10, 10, 10, 0.85);
  color: #ddd;
  padding: 14px 0;
  font-size: 14px;
}

.map-slot {
  background: #1a1a1a;
  border-radius: var(--radius);
  min-height: 280px;
  display: grid;
  place-items: center;
  color: #666;
  border: 1px solid #2a2a2a;
}
