:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #1a1d26;
  --muted: #5c6478;
  --brand: #0b57d0;
  --brand-dark: #0842a0;
  --border: #e3e8f0;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(20, 32, 60, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--brand);
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.site-header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.site-header__line {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.35;
}

.site-header__line:hover {
  color: var(--brand);
  text-decoration: underline;
}

.site-footer {
  margin-top: 48px;
  padding: 24px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.hero {
  margin-bottom: 28px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
}

.hero--compact h1 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section {
  margin-top: 32px;
}

.section__title {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.muted {
  color: var(--muted);
  font-weight: 400;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

.chip:hover {
  border-color: var(--brand);
}

.chip.is-active {
  border-color: var(--brand);
  background: #eef3ff;
  color: var(--brand-dark);
}

.chip__count {
  background: #eef3ff;
  color: var(--brand-dark);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.bc-sep {
  opacity: 0.5;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card__media {
  display: block;
  position: relative;
}

.card__cover-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card__media .slider {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.card__media .slider__btn,
.card__media .slider__dot,
.card__media .card-share-actions,
.card__media .card-share-btn {
  pointer-events: auto;
}

.card-share-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-share-btn__icon {
  display: block;
}

.card-share-btn--wa {
  background: #25d366;
}

.card-share-btn--tg {
  background: #229ed9;
}

.card-share-btn:hover {
  filter: brightness(0.93);
  color: #fff;
}

.card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 8px;
}

.card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a:hover {
  color: var(--brand);
}

.card__meta {
  margin: 0;
}

.tag {
  display: inline-block;
  background: #eef3ff;
  color: var(--brand-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

a.tag:hover {
  background: #dce8ff;
  color: var(--brand);
}

.card__cta {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}

.slider {
  position: relative;
  background: #dfe6f2;
}

.slider--card {
  aspect-ratio: 4 / 3;
}

.slider--detail {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 16 / 10;
}

.slider__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider__track {
  display: flex;
  height: 100%;
  transition: transform 280ms ease;
}

.slider__slide {
  min-width: 100%;
  height: 100%;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted);
  font-size: 0.95rem;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.slider__btn:hover {
  background: #fff;
}

.slider__btn--prev {
  left: 8px;
}

.slider__btn--next {
  right: 8px;
}

.slider--card .slider__btn {
  opacity: 0;
  transition: opacity 150ms ease;
}

.card:hover .slider__btn,
.slider:focus-within .slider__btn {
  opacity: 1;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.85);
}

.slider--card .slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.35));
  padding-bottom: 10px;
}

.slider__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}

.slider__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.listing__header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}

.listing__meta {
  margin: 0 0 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.listing__cta,
.listing__details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 16px;
}

.listing__cta h2,
.listing__details h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn__icon {
  flex-shrink: 0;
  display: block;
}

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

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

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.contact-actions--compact {
  justify-content: center;
  margin-top: 14px;
}

.contact-actions--compact .btn {
  font-size: 0.85rem;
  padding: 8px 12px;
}

.contact-section h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.contact-section p {
  margin: 0 0 4px;
  color: var(--muted);
}

.contact-empty {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.site-footer__tagline {
  margin: 0 0 4px;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.btn--telegram {
  background: #229ed9;
  color: #fff;
}

.btn--facebook {
  background: #1877f2;
  color: #fff;
}

.btn--maps {
  background: #34a853;
  color: #fff;
}

.btn--whatsapp:hover,
.btn--telegram:hover,
.btn--facebook:hover,
.btn--maps:hover {
  filter: brightness(0.92);
  color: #fff;
}

.details-list {
  margin: 0;
  padding-left: 1.1rem;
}

.empty {
  color: var(--muted);
}

@media (max-width: 600px) {
  .slider__btn {
    opacity: 1;
  }
}
