/* bakurentals.com design system */
:root {
  --br-bg: #f6f7fb;
  --br-card: #ffffff;
  --br-text: #0f172a;
  --br-muted: #64748b;
  --br-primary: #2563eb;
  --br-border: #e5e7eb;
  --br-radius: 22px;
  --br-radius-sm: 16px;
  --br-radius-xs: 12px;
  --br-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
  --br-shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
  --br-shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.1);
  --br-space-section: clamp(1.5rem, 4vw, 2.25rem);
  --br-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --br-anchor-offset: clamp(76px, 12vw, 96px);
}

html {
  overflow-x: clip;
}

.bakurentals-app {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--br-bg);
  color: var(--br-text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  /* Bootstrap 5 theme alignment */
  --bs-primary: #2563eb;
  --bs-primary-rgb: 37, 99, 235;
  --bs-link-color: #2563eb;
  --bs-link-hover-color: #1d4ed8;
  --bs-focus-ring-color: rgba(37, 99, 235, 0.35);
}

.bakurentals-main {
  background: var(--br-bg);
}

.bakurentals-main--home {
  max-width: none;
  width: 100%;
  padding: 0;
}

/* Home shell is the width authority — avoid nested Bootstrap .container capping layout */
.bakurentals-main--home .site-shell .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Shell & desktop layout (left promo + center + right utility) */
.site-shell {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px;
  width: 100%;
}

.desktop-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1400px) {
  .desktop-layout {
    grid-template-columns: 260px minmax(0, 1fr) 340px;
  }
}

@media (max-width: 1199.98px) {
  .desktop-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .desktop-layout__center,
  .desktop-layout__main {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

.desktop-layout__center,
.desktop-layout__main,
.desktop-layout__right {
  min-width: 0;
}

.desktop-layout__left {
  width: 100%;
  min-width: 0;
}

/* Sticky sidebars — no forced column stretch */
.left-sidebar,
.right-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

[data-br-anchor="news"],
[data-br-anchor="about"],
[data-br-anchor="contact"],
#news,
#about,
#contact {
  scroll-margin-top: var(--br-anchor-offset);
}

/* Top navigation */
.top-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0.75rem clamp(0.75rem, 2vw, 1.25rem) 0;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--br-bg) 92%, transparent) 0%,
    color-mix(in srgb, var(--br-bg) 55%, transparent) 72%,
    transparent 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.top-nav {
  max-width: min(1320px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  box-shadow: var(--br-shadow-sm);
  padding: 0.55rem 1rem;
  transition: box-shadow var(--br-transition), border-color var(--br-transition);
}

.top-nav.top-nav--scrolled {
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.1);
}

.top-nav .navbar-toggler {
  border-radius: var(--br-radius-xs);
  border-color: var(--br-border);
  padding: 0.4rem 0.55rem;
}

.top-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2);
}

.top-nav .navbar-nav .nav-link,
.top-nav .nav-br-link {
  color: var(--br-text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--br-radius-xs);
  transition: color var(--br-transition), background var(--br-transition),
    transform var(--br-transition);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-nav .navbar-nav .nav-link:hover,
.top-nav .navbar-nav .nav-link.nav-br-link:hover,
.top-nav .nav-br-link:hover {
  color: var(--br-primary);
  background: rgba(37, 99, 235, 0.07);
}

.top-nav .navbar-nav .nav-link.active,
.top-nav .nav-br-link.active {
  color: var(--br-primary);
  background: rgba(37, 99, 235, 0.11);
  font-weight: 600;
}

.top-nav .navbar-nav .nav-link:focus-visible,
.top-nav .navbar-nav .nav-link.nav-br-link:focus-visible,
.top-nav .nav-br-link:focus-visible {
  outline: 2px solid var(--br-primary);
  outline-offset: 2px;
}

.brand-logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  line-height: 1.2;
}

.brand-logo__accent {
  color: var(--br-primary);
}

.brand-logo__tld {
  color: var(--br-text);
}

.btn-br-primary {
  background: var(--br-primary);
  border: none;
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--br-radius-xs);
  padding: 0.5rem 1rem;
  min-height: 2.625rem;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-br-primary:hover {
  background: #1d4ed8;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
}

.btn-br-primary:focus-visible {
  outline: 2px solid var(--br-primary);
  outline-offset: 2px;
}

.btn-br-primary:active {
  transform: translateY(0);
}

.btn-icon-soft {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--br-border);
  background: #fff;
  color: var(--br-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-icon-soft:hover {
  border-color: var(--br-primary);
  color: var(--br-primary);
  background: rgba(37, 99, 235, 0.06);
}

.btn-icon-soft:focus-visible {
  outline: 2px solid var(--br-primary);
  outline-offset: 2px;
}

.btn-icon-soft--tap {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 14px;
}

.top-nav-actions .btn-outline-dark,
.top-nav-actions .btn-outline-secondary {
  border-radius: var(--br-radius-xs);
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

@media (max-width: 991.98px) {
  .navbar-collapse.navbar-collapse-br.collapsing {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.32s;
  }

  .top-nav .navbar-collapse {
    margin-top: 0.85rem;
    padding-top: 0.65rem;
    padding-bottom: 0.35rem;
    border-top: 1px solid var(--br-border);
  }

  .top-nav-actions {
    flex-wrap: wrap;
    gap: 0.65rem !important;
    margin-top: 0.85rem;
    justify-content: flex-start !important;
    padding-bottom: 0.35rem;
    width: 100%;
  }

  .top-nav-actions .btn-br-primary,
  .top-nav-actions .btn-br-nav-primary {
    width: 100%;
    justify-content: center;
    min-height: 3rem;
  }
}

.btn-br-nav-secondary.btn {
  border-radius: var(--br-radius-xs);
  font-weight: 600;
  min-height: 2.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.btn-br-nav-primary.btn {
  border-radius: var(--br-radius-xs);
  padding-left: 1.05rem;
  padding-right: 1.05rem;
  min-height: 2.875rem;
  font-weight: 600;
}

/* Hero */
.hero-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--br-card);
  border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow);
  background-size: cover;
  background-position: center;
}

.hero-card img,
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-card--default:has(> img:first-child),
.hero-card--default:has(> .hero-bg) {
  background-image: none;
}

@media (max-width: 991.98px) {
  .hero-card {
    min-height: clamp(280px, 52vw, 420px);
    border-radius: var(--br-radius);
  }
}

@media (max-width: 575.98px) {
  .hero-card {
    min-height: clamp(240px, 62vw, 340px);
  }
}

.hero-card--default {
  background-image: url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1800&q=80");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.48) 40%,
    rgba(15, 23, 42, 0.24) 100%
  );
}

.hero-card__inner {
  position: relative;
  z-index: 2;
  padding: clamp(1.25rem, 3.5vw, 2.25rem) clamp(1rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  max-width: min(640px, 100%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.hero-card__title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.hero-card__title .hero-accent {
  color: #bfdbfe;
}

.hero-card__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.5;
  max-width: 34rem;
  margin-bottom: 0;
}

.text-br-blue {
  color: var(--br-primary) !important;
}

/* Search panel */
.search-panel {
  position: relative;
  margin-top: 1.25rem;
  background: color-mix(in srgb, var(--br-card) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--br-radius);
  border: 1px solid color-mix(in srgb, var(--br-border) 85%, var(--br-primary));
  box-shadow: var(--br-shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 2vw, 1.35rem) 1.2rem;
}

.search-panel--hero-overlap {
  margin-top: -2.75rem;
  z-index: 2;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .search-panel--hero-overlap {
    margin-top: -1.85rem;
  }
}

@media (max-width: 767.98px) {
  .search-panel--hero-overlap {
    margin-top: 0.75rem;
  }
}

.tab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tab-pills input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tab-pills input:focus-visible + label {
  outline: 2px solid var(--br-primary);
  outline-offset: 2px;
}

.tab-pills label {
  margin: 0;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid var(--br-border);
  background: #f1f5f9;
  color: var(--br-muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tab-pills label:hover {
  border-color: color-mix(in srgb, var(--br-primary) 35%, var(--br-border));
  color: var(--br-text);
}

.tab-pills input:checked + label {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.45);
  color: var(--br-primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.search-panel .form-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--br-muted);
  margin-bottom: 0.25rem;
}

.search-panel .form-control,
.search-panel .form-select {
  border-radius: var(--br-radius-xs);
  border-color: var(--br-border);
  font-size: 0.9rem;
  min-height: 2.65rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-panel .form-control:focus,
.search-panel .form-select:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.search-panel .btn-br-search {
  border-radius: var(--br-radius-xs);
  font-weight: 700;
  padding: 0.58rem 1.35rem;
  min-height: 2.65rem;
  background: var(--br-primary);
  border: none;
  color: #fff;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22);
}

.search-panel .btn-br-search:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-1px);
}

.search-panel .btn-br-search:focus-visible {
  outline: 2px solid var(--br-primary);
  outline-offset: 2px;
}

.search-panel .btn-outline-secondary {
  border-radius: var(--br-radius-xs);
  min-height: 2.65rem;
  font-weight: 600;
}

.search-panel__field {
  min-width: 0;
}

.search-panel__field .form-control,
.search-panel__field .form-select {
  width: 100%;
  min-width: 0;
}

/* Hero search: CSS grid only (avoid Bootstrap row/col + parent grid conflicts) */
.search-panel__fields {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.search-panel__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.search-panel__actions .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .search-panel__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel__actions {
    grid-column: 1 / -1;
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .search-panel__actions .btn {
    flex: 1 1 auto;
    min-width: min(100%, 10rem);
  }
}

@media (max-width: 767.98px) {
  .search-panel__fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .search-panel__actions .btn {
    width: 100%;
    white-space: normal;
  }
}

/* Category strip */
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0.5rem;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.92rem;
  border-radius: 999px;
  border: 1px solid var(--br-border);
  background: #fff;
  color: var(--br-text);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color var(--br-transition), color var(--br-transition),
    box-shadow var(--br-transition), transform var(--br-transition);
}

.category-chip:hover {
  border-color: var(--br-primary);
  color: var(--br-primary);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

.category-chip:focus-visible {
  outline: 2px solid var(--br-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .category-chip {
    transition: none;
  }

  .category-chip:hover {
    transform: none;
  }
}

/* Below-xl: sidebar widgets stack under hero (mobile 1 col, tablet 2 cols) */
.tablet-secondary-stack {
  margin-top: clamp(1.25rem, 3vw, 1.85rem);
  margin-bottom: 0.25rem;
}

.tablet-secondary-stack__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.85rem, 2.2vw, 1.25rem);
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .tablet-secondary-stack__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tablet-secondary-stack__card--news {
  grid-column: 1 / -1;
}

.br-soft-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  border: 1px solid color-mix(in srgb, var(--br-border) 88%, transparent);
  padding: clamp(0.65rem, 2vw, 0.95rem)
    clamp(0.85rem, 2.2vw, 1.1rem);
}

.tablet-secondary-stack .br-soft-card .right-card {
  margin-bottom: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

.tablet-secondary-stack .br-soft-card .right-card__title {
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.tablet-secondary-stack .br-soft-card .promo-blue {
  margin-bottom: 0;
  border-radius: 14px;
  padding: 1rem 1rem 1.1rem;
}

@media (prefers-reduced-motion: no-preference) {
  .br-reveal-widgets .br-widget-rise {
    animation: br-rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .br-reveal-widgets .br-soft-card:nth-child(1) {
    animation-delay: 0.04s;
  }

  .br-reveal-widgets .br-soft-card:nth-child(2) {
    animation-delay: 0.1s;
  }

  .br-reveal-widgets .br-soft-card:nth-child(3) {
    animation-delay: 0.16s;
  }

  .br-reveal-widgets .br-soft-card:nth-child(4) {
    animation-delay: 0.22s;
  }

  @keyframes br-rise-in {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* Listing grid — mobile 1 / tablet 2 / desktop 4 (≥1200px) */
.listing-grid-home,
.listing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .listing-grid-home,
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .listing-grid-home,
  .listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.listing-grid-home__empty {
  grid-column: 1 / -1;
  padding: 1rem 0;
}

.listing-grid-home__cell {
  display: flex;
  min-height: 0;
  align-items: stretch;
}

.listing-grid-home__cell > .listing-card-modern {
  flex: 1 1 auto;
  width: 100%;
}

@media (max-width: 767.98px) {
  .listing-grid-home--balanced {
    gap: 1.05rem;
  }
}

.listing-card-modern {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--br-card);
  border-radius: var(--br-radius-sm);
  border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow-sm);
  overflow: hidden;
  transition: transform var(--br-transition), box-shadow var(--br-transition),
    border-color var(--br-transition), background-color var(--br-transition);
}

.listing-card-modern .media,
.listing-card-modern__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eef2f7;
  overflow: hidden;
  flex-shrink: 0;
}

.listing-card-modern .media img,
.listing-card-modern__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.listing-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--br-shadow-hover);
  border-color: color-mix(in srgb, var(--br-primary) 22%, var(--br-border));
}

.listing-card-modern:hover .listing-card-modern__media img,
.listing-card-modern:hover .media img {
  transform: scale(1.045);
}

@media (prefers-reduced-motion: reduce) {
  .listing-card-modern,
  .listing-card-modern__media img,
  .listing-card-modern .media img {
    transition: none;
  }

  .listing-card-modern:hover {
    transform: none;
  }

  .listing-card-modern:hover .listing-card-modern__media img,
  .listing-card-modern:hover .media img {
    transform: none;
  }
}

.listing-card-modern .stretched-link::after {
  z-index: 1;
}

.listing-card-modern__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: var(--br-radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.94);
  color: var(--br-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  z-index: 2;
  transition: transform 0.18s ease, color 0.15s ease, background 0.15s ease;
}

.listing-card-modern__fav:hover {
  color: #dc2626;
  transform: scale(1.06);
}

.listing-card-modern__fav:focus-visible {
  outline: 2px solid var(--br-primary);
  outline-offset: 2px;
}

.listing-card-modern__body {
  padding: 0.95rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.listing-card-modern__meta.mb-0,
.listing-card-modern__meta:last-child {
  margin-bottom: 0;
  margin-top: auto;
  padding-top: 0.2rem;
}

.listing-card-modern__price {
  font-weight: 800;
  font-size: clamp(0.95rem, 2vw, 1rem);
  color: var(--br-text);
  margin-bottom: 0.35rem;
}

.listing-card-modern__title {
  font-weight: 600;
  font-size: clamp(0.895rem, 2.15vw, 1rem);
  color: var(--br-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.45rem;
  min-height: calc(2 * 1.35em + 4px);
}

.listing-card-modern__meta {
  font-size: 0.78rem;
  color: var(--br-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.listing-card-modern__meta i {
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Side cards */
.right-card {
  background: var(--br-card);
  border-radius: var(--br-radius-sm);
  border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow-sm);
  padding: 1.05rem 1.1rem;
  margin-bottom: 1rem;
}

.right-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--br-text);
}

.popular-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.popular-links a {
  color: var(--br-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--br-border);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.popular-links a:hover {
  color: var(--br-primary);
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.06);
}

.popular-links a:focus-visible {
  outline: 2px solid var(--br-primary);
  outline-offset: 2px;
}

.promo-blue {
  background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%);
  color: #fff;
  border-radius: var(--br-radius-sm);
  padding: 1.2rem 1.1rem;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.22);
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.promo-blue h6 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.promo-blue p {
  opacity: 0.92;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.promo-blue .btn-light {
  border-radius: var(--br-radius-xs);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  min-height: 2.65rem;
  border: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.mortgage-card .form-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--br-muted);
}

.mortgage-card .form-control {
  border-radius: var(--br-radius-xs);
  font-size: 0.875rem;
  background: #f8fafc;
  border-color: var(--br-border);
}

.mortgage-card .mortgage-result {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--br-radius-xs);
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--br-primary);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.news-card .news-item {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  text-decoration: none !important;
  color: inherit;
}

.news-card .news-item:last-child {
  margin-bottom: 0;
}

.news-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e5e7eb;
}

.news-item__title {
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--br-text);
  margin-bottom: 0.15rem;
}

.news-item__date {
  font-size: 0.72rem;
  color: var(--br-muted);
}

/* Benefits */
.benefits-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1rem);
  margin-top: clamp(1.6rem, 4vw, 2.25rem);
}

@media (max-width: 767.98px) {
  .benefits-strip {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .benefits-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.benefit-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius-sm);
  padding: clamp(0.75rem, 2vw, 0.92rem);
  box-shadow: var(--br-shadow-sm);
  transition: border-color var(--br-transition), box-shadow var(--br-transition),
    transform var(--br-transition), background-color var(--br-transition);
  min-height: 100%;
}

.benefit-pill--interactive:hover {
  border-color: color-mix(in srgb, var(--br-primary) 28%, var(--br-border));
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  background-color: color-mix(in srgb, #fff 96%, rgba(37, 99, 235, 0.04));
}

@media (prefers-reduced-motion: reduce) {
  .benefit-pill {
    transition: none;
  }

  .benefit-pill--interactive:hover {
    transform: none;
  }
}

.benefit-pill__text {
  min-width: 0;
}

.benefit-pill__text > span:first-child {
  font-weight: 700;
  font-size: clamp(0.855rem, 1.85vw, 0.925rem);
  line-height: 1.3;
}

.benefit-pill i {
  font-size: clamp(1.35rem, 3vw, 1.56rem);
  color: var(--br-primary);
  flex-shrink: 0;
}

.benefit-pill span:not(.text-muted) {
  font-weight: 600;
  font-size: 0.88rem;
}

.home-contact-panel {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(1.05rem, 3vw, 1.35rem) clamp(1.1rem, 3vw, 1.4rem);
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow-sm);
}

.home-contact-panel__title {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.home-contact-panel__text {
  color: var(--br-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 52rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.75rem 0 0.75rem;
}

.section-head h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

.section-head a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--br-primary);
  text-decoration: none !important;
}

.section-head a:hover {
  text-decoration: underline !important;
}

/* FAB override */
.bakurentals-app .fab-add a {
  background: var(--br-primary);
  border: none;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}

.bakurentals-app .fab-add a:hover {
  background: #1d4ed8;
}

/* Site footer (admin-driven) */
.site-footer {
  max-width: 1200px;
  margin: 32px auto 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-grid--dynamic {
  grid-template-columns:
    minmax(200px, 1.4fr)
    repeat(var(--footer-cols, 3), minmax(0, 1fr))
    auto;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.25rem;
}

.footer-brand .blue {
  color: #2563eb;
}

.footer-brand .dark {
  color: #0f172a;
}

.footer-desc {
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.58;
  margin-top: 10px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-link {
  display: block;
  color: #64748b;
  text-decoration: none;
  margin: 7px 0;
  font-size: 0.92rem;
}

.footer-link:hover {
  color: #2563eb;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  row-gap: 0.85rem;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer-social {
  width: 2.625rem;
  height: 2.625rem;
  min-width: 2.625rem;
  min-height: 2.625rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #2563eb;
  text-decoration: none;
  font-size: 1.06rem;
  transition: transform var(--br-transition), background var(--br-transition),
    color var(--br-transition), box-shadow var(--br-transition);
}

.footer-social:hover {
  color: #1d4ed8;
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.footer-social:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  margin-top: 24px;
  padding-top: 16px;
  color: #64748b;
  font-size: 0.9rem;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .site-footer {
    margin: 36px clamp(0.85rem, 3vw, 1.25rem) 28px;
    padding: clamp(1.65rem, 4vw, 2rem);
  }

  .footer-grid {
    gap: clamp(22px, 4vw, 30px);
  }

  .footer-link {
    font-size: 0.9rem;
    margin: 10px 0;
  }

  .footer-title {
    font-size: 0.975rem;
  }
}

@media (max-width: 992px) {
  .footer-grid--dynamic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-social-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 576px) {
  .site-footer {
    margin: 20px clamp(0.75rem, 3vw, 1.25rem) 24px;
    padding: 1.35rem 1.15rem;
    border-radius: var(--br-radius-sm);
  }

  .footer-grid--dynamic {
    grid-template-columns: 1fr;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

/* —— Global page layout, forms, pagination, motion —— */
.bakurentals-main.container {
  max-width: min(1200px, 100%);
  padding-left: clamp(0.75rem, 2.5vw, 1rem);
  padding-right: clamp(0.75rem, 2.5vw, 1rem);
}

.page-stack {
  max-width: min(1200px, 100%);
  margin: 0 auto;
}

.section-head__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.section-head__meta {
  font-variant-numeric: tabular-nums;
}

.bakurentals-app .form-control,
.bakurentals-app .form-select {
  border-radius: var(--br-radius-xs);
  border-color: var(--br-border);
  min-height: 2.65rem;
  font-size: 0.9375rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bakurentals-app .form-control:focus,
.bakurentals-app .form-select:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.bakurentals-app .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--br-text);
}

.bakurentals-app .invalid-feedback,
.bakurentals-app .errorlist {
  font-size: 0.875rem;
  font-weight: 500;
}

.bakurentals-app .box {
  border-radius: var(--br-radius-sm);
  box-shadow: var(--br-shadow-sm);
  border: 1px solid var(--br-border);
}

.br-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.br-avatar--lg {
  width: 80px;
  height: 80px;
}

.br-pagination .page-link {
  border-radius: var(--br-radius-xs);
  margin: 0 0.15rem;
  font-weight: 600;
  color: var(--br-text);
  border-color: var(--br-border);
  min-width: 2.5rem;
  text-align: center;
}

.br-pagination .page-item.active .page-link {
  background: var(--br-primary);
  border-color: var(--br-primary);
}

.br-pagination .page-link:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2);
}

.br-alerts .alert {
  border-radius: var(--br-radius-xs);
  border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow-sm);
}

.news-card .news-item:focus-visible {
  outline: 2px solid var(--br-primary);
  outline-offset: 3px;
  border-radius: var(--br-radius-xs);
}

@media (prefers-reduced-motion: reduce) {
  .btn-br-primary:hover,
  .search-panel .btn-br-search:hover,
  .listing-card-modern:hover {
    transform: none;
  }

  .footer-social:hover {
    transform: none;
    box-shadow: none;
  }

  .br-reveal-widgets .br-widget-rise {
    animation: none !important;
  }

  .top-nav-wrap {
    backdrop-filter: none;
  }

  .search-panel {
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .br-reveal {
    animation: br-fade-up 0.55s ease-out both;
  }

  @keyframes br-fade-up {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.submit-page{
  max-width:1200px;
  margin:0 auto;
  padding:24px;
}
.submit-hero{
  background:linear-gradient(135deg,#eff6ff,#ffffff);
  border:1px solid #e5e7eb;
  border-radius:28px;
  padding:28px;
  margin-bottom:24px;
}
.submit-hero h1{
  font-size:clamp(1.8rem,3vw,2.6rem);
  font-weight:800;
  margin:0 0 8px;
}
.submit-hero p{
  color:#64748b;
  margin:0;
}
.submit-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:14px;
  padding:8px 12px;
  border-radius:999px;
  background:#dbeafe;
  color:#2563eb;
  font-weight:700;
  font-size:.9rem;
}
.submit-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:24px;
  align-items:start;
}
.submit-layout__form{
  min-width:0;
}
.submit-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:24px;
  box-shadow:0 12px 40px rgba(15,23,42,.04);
  margin-bottom:18px;
}
.submit-card h2{
  font-size:1.15rem;
  font-weight:800;
  margin-bottom:16px;
}
.submit-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.submit-grid-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.form-field{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.form-label{
  font-weight:700;
  color:#0f172a;
  font-size:.95rem;
}
.form-field input,
.form-field select,
.form-field textarea{
  width:100%;
  min-height:46px;
  border:1px solid #dbe1ea;
  border-radius:14px;
  padding:10px 13px;
  background:#fff;
  color:#0f172a;
  outline:none;
}
.form-field input[type="checkbox"],
.form-field input[type="radio"]{
  width:auto;
  min-height:auto;
  padding:0;
  border-radius:6px;
}
.form-field textarea{
  min-height:140px;
  resize:vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}
.form-error{
  color:#dc2626;
  font-size:.85rem;
}
.upload-box{
  border:2px dashed #cbd5e1;
  border-radius:20px;
  padding:28px;
  text-align:center;
  background:#f8fafc;
  cursor:pointer;
  transition:.2s ease;
}
.upload-box:hover{
  border-color:#2563eb;
  background:#eff6ff;
}
.upload-box input{
  display:none;
}
.upload-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#dbeafe;
  color:#2563eb;
  font-size:1.5rem;
  margin-bottom:10px;
}
.file-name{
  margin-top:10px;
  color:#64748b;
  font-size:.9rem;
}
.submit-side{
  position:sticky;
  top:100px;
}
.side-check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:12px 0;
  color:#475569;
}
.side-check i{
  color:#2563eb;
}
.submit-action{
  width:100%;
  min-height:54px;
  border:0;
  border-radius:16px;
  background:#2563eb;
  color:#fff;
  font-weight:800;
  font-size:1rem;
}
.submit-action:hover{
  background:#1d4ed8;
}
.submit-note{
  text-align:center;
  color:#64748b;
  font-size:.9rem;
  margin-top:10px;
}
@media(max-width:992px){
  .submit-layout{grid-template-columns:1fr}
  .submit-side{position:static}
}
@media(max-width:768px){
  .submit-page{padding:16px}
  .submit-grid,
  .submit-grid-3{grid-template-columns:1fr}
  .submit-card{padding:18px;border-radius:20px}
}
