* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px; /* Base font size for rem calculations */
  overflow-x: hidden;
}

body {
  background-color: #F7F8F9;
  color: #000;
  font-family: "Segoe UI Variable", "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

.site-content {
  transition: filter 0.25s ease;
}

body.modal-open-custom .site-content {
  filter: blur(0.375rem);
}

/* Global breadcrumb reset: remove Bootstrap boxed breadcrumb treatment */
nav[aria-label="breadcrumb"] .breadcrumb {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.82rem !important;
  --bs-breadcrumb-divider-color: #9ca3af;
  --bs-breadcrumb-item-active-color: #6b7280;
}

nav[aria-label="breadcrumb"] .breadcrumb .breadcrumb-item a {
  color: #D99E32;
  text-decoration: none;
}

nav[aria-label="breadcrumb"] .breadcrumb .breadcrumb-item a:hover {
  color: #b7821a;
  text-decoration: underline;
}


/* Home and Logo Bar*/
hlogo {
  background-color: #1a1a1a;
  padding: 2.5rem 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 11.25rem;
  width: 100%;
}


/* Navigation Bar */
nav.navbar {
  background-color: #D99E32;
  border-bottom: 0.0625rem solid #D99E32;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

nav.navbar .navbar-toggler {
  border-color: #000;
}

nav.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

nav.navbar .navbar-nav {
  gap: 1.75rem;
}

@media (min-width: 62.0625rem) {
  nav.navbar .navbar-collapse {
    width: 100%;
  }

  nav.navbar .navbar-nav {
    width: 100%;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
  }

  nav.navbar .navbar-nav > .nav-item {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
  }

  nav.navbar .navbar-nav > .nav-item:last-child {
    flex: 0 0 auto;
  }

  nav.navbar .navbar-nav > .nav-item > .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
  }
}

nav.navbar .nav-link {
  color: #000 !important;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 0.1rem;
}

nav.navbar .nav-user-icon {
  background: none;
  border: none;
  color: #000;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav.navbar .nav-user-icon:hover {
  color: #1a1a1a;
  transform: scale(1.1);
}

nav.navbar .nav-user-icon:focus {
  outline: 0.125rem solid #000;
  outline-offset: 0.25rem;
  border-radius: 50%;
}

nav.navbar .nav-link:hover,
nav.navbar .nav-link:focus {
  color: #1a1a1a !important;
}

nav.navbar .dropdown-menu {
  background-color: #D99E32;
  border: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
  transform-origin: top center;
  box-shadow: none !important;
  --bs-dropdown-border-width: 0;
  --bs-dropdown-box-shadow: none;
  --bs-dropdown-bg: #D99E32;
  --bs-dropdown-link-hover-bg: rgba(0, 0, 0, 0.08);
}


/* Chevron icon inside the nav link */
.nav-chevron {
  font-size: 0.65rem;
  vertical-align: middle;
  margin-left: 0.2rem;
  transition: transform 0.22s ease;
}

nav.navbar .dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

@media (min-width: 62.0625rem) {

  nav.navbar .dropdown {
    position: relative;
  }

  /* Hover-bridge so a small vertical offset doesn't break hover */
  nav.navbar .dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.35rem;
  }

  nav.navbar .dropdown-menu {
    top: calc(100% + 0.35rem);
    left: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0.85);
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
  }

  nav.navbar .dropdown:hover > .dropdown-menu,
  nav.navbar .dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
    pointer-events: auto;
  }
}

@media (max-width: 62rem) {
  nav.navbar .dropdown-menu.show {
    animation: dropdownGrow 0.22s ease forwards;
  }
}

@keyframes dropdownGrow {
  from {
    opacity: 0;
    transform: scaleY(0.85);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

nav.navbar .dropdown-item {
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.2s;
}

nav.navbar .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #000;
}

.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 2000;
  padding: 1rem;
}

.login-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.login-modal-window {
  width: min(100%, 25rem);
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.4rem 1.2rem 1.2rem;
  position: relative;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.22);
  animation: modalPop 0.2s ease;
}

.login-close-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #333;
}

.login-title {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.login-subtitle {
  margin-bottom: 1rem;
  color: #4f4f4f;
}

.login-message {
  min-height: 1.3rem;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: #b42318;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(-0.35rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Highlights Carousel */
highlight-properties-background {
  display: block;
  position: relative;
  width: 100%;
}

.highlights-carousel {
  position: relative;
  width: 100%;
  height: 37.125rem;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.highlights-carousel.dragging {
  cursor: grabbing;
}

.highlights-carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.highlights-carousel-track.no-transition {
  transition: none !important;
}

.highlight-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

.highlight-bg-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.highlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  z-index: 1;
}

.highlight-content {
  color: #ffffff;
  width: 100%;
  max-width: 50%;
}

.highlight-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.highlight-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.highlight-meta .badge {
  background-color: #D99E32;
  color: #000;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
}

.highlight-meta .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #D99E32;
}

.highlight-location {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-highlight {
  background-color: #D99E32;
  color: #000;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  border-radius: 0.35rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-highlight:hover {
  background-color: #c88a1f;
  transform: translateY(-0.15rem);
  color: #000;
}

.highlights-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.35rem;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.highlights-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.highlights-nav-prev {
  left: 1.5rem;
}

.highlights-nav-next {
  right: 1.5rem;
}

.highlights-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.highlight-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.highlight-dot.active {
  background-color: #D99E32;
  transform: scale(1.3);
}

.highlight-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 48rem) {
  highlight-properties-background {
    height: 20rem;
  }

  .highlight-overlay {
    padding: 1rem;
    align-items: center;
  }

  .highlight-content {
    max-width: 100%;
  }

  .highlight-title {
    font-size: 1.3rem;
  }

  .btn-highlight {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .highlights-nav {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .highlights-nav-prev {
    left: 0.75rem;
  }

  .highlights-nav-next {
    right: 0.75rem;
  }
}

@media (max-width: 62rem) {
  nav.navbar {
    padding: 1rem 1.5rem;
  }
  
  nav.navbar .navbar-nav {
    gap: 0;
    align-items: flex-start;
  }
  
  nav.navbar .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* Main container */
.container {
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

/* Hero section */
.hero {
  background-color: #cfcfcf;
  border-radius: 0.75rem;
  padding: 4rem 2rem;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: #000000;
}

/* Cards section */
.cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background-color: #cfcfcf;
  border-radius: 0.625rem;
  padding: 2rem 1.5rem;
  flex: 1 1 16.25rem;
  max-width: 20rem;
  text-align: center;
}

.card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: #000000;
  font-size: 0.95rem;
  line-height: 1.6;
}

.developer-logo-carousel-section {
  position: relative;
}

.developer-logo-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0.75rem 0;
}

.developer-logo-carousel::before,
.developer-logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5rem;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.developer-logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, #f7f8f9 0%, rgba(247, 248, 249, 0) 100%);
}

.developer-logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, #f7f8f9 0%, rgba(247, 248, 249, 0) 100%);
}

.developer-logo-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  will-change: transform;
}

.developer-logo-slide {
  flex: 0 0 auto;
  width: 9.375rem;
  height: 9.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 0.0625rem solid #e9ecf2;
  border-radius: 0.75rem;
  padding: 0.5rem;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.22s, box-shadow 0.22s;
}

a.developer-logo-slide:hover {
  border-color: #d4912e;
  box-shadow: 0 4px 18px rgba(183, 135, 42, 0.18);
  cursor: pointer;
}

a.developer-logo-slide:hover img {
  transform: scale(1.12);
}

.developer-logo-slide img {
  width: 9.375rem;
  height: 9.375rem;
  object-fit: contain;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

highlight-properties-background {
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 37.125rem;
  width: 100%;
}

highlight-properties {
  background-image: url('../assets/highlight-property-images/main-1.jpg'); 
  background-size: cover;
  background-repeat: repeat-y;
  padding: 0.625rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  opacity: 0.6;
}


.site-footer {
  background-color: #1a1a1a; /* Dark professional background */
  color: #ffffff;
  padding: 2.5rem 1.25rem 1.25rem 1.25rem;
  font-family: sans-serif;
  height: 43.375rem;
}

.footer-container {
  max-width: 75rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; /* Allows stacking on mobile */
  justify-content: space-between;
  gap: 1.875rem;
}

.footer-brand {
  flex: 1;
  min-width: 15.625rem;
}

.footer-brand h3 {
  margin-bottom: 0.9375rem;
  color: #4da3ff; /* Brand accent color */
}

.footer-links {
  display: flex;
  gap: 3.125rem;
  flex: 2;
  justify-content: flex-end;
}

.link-group {
  display: flex;
  flex-direction: column;
}

.link-group h4 {
  margin-bottom: 0.9375rem;
  font-size: 1.1rem;
}

.link-group a {
  color: #cccccc;
  text-decoration: none;
  margin-bottom: 0.625rem;
  transition: color 0.3s;
}

.link-group a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 0.0625rem solid #333;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

/* Featured Listings Carousel */
.featured-listings-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #ebebeb;
  padding: 2rem 0 1.75rem;
  margin-top: 0;
}

.featured-listings-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.featured-listings-header {
  text-align: center;
  margin-bottom: 1.25rem;
  position: relative;
}

.featured-listings-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.featured-listings-header p {
  color: #888888;
  font-size: 1rem;
  margin: 0;
}

.featured-listings-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 1rem;
}

.featured-listings-nav button {
  background: none;
  border: 1px solid #d0d0d0;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: #D99E32;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.featured-listings-nav button:hover {
  background-color: #D99E32;
  color: #fff;
  border-color: #D99E32;
}

.listings-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -14rem;
  padding: 0 14rem;
}

.listings-carousel-wrapper::before,
.listings-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14rem;
  pointer-events: none;
  z-index: 10;
}

.listings-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, 
    rgba(235, 235, 235, 1) 0%, 
    rgba(235, 235, 235, 0.98) 10%,
    rgba(235, 235, 235, 0.94) 20%, 
    rgba(235, 235, 235, 0.88) 30%, 
    rgba(235, 235, 235, 0.78) 40%,
    rgba(235, 235, 235, 0.62) 50%, 
    rgba(235, 235, 235, 0.44) 60%, 
    rgba(235, 235, 235, 0.26) 70%, 
    rgba(235, 235, 235, 0.12) 80%,
    rgba(235, 235, 235, 0.03) 90%,
    transparent 100%);
}

.listings-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, 
    rgba(235, 235, 235, 1) 0%, 
    rgba(235, 235, 235, 0.98) 10%,
    rgba(235, 235, 235, 0.94) 20%, 
    rgba(235, 235, 235, 0.88) 30%, 
    rgba(235, 235, 235, 0.78) 40%,
    rgba(235, 235, 235, 0.62) 50%, 
    rgba(235, 235, 235, 0.44) 60%, 
    rgba(235, 235, 235, 0.26) 70%, 
    rgba(235, 235, 235, 0.12) 80%,
    rgba(235, 235, 235, 0.03) 90%,
    transparent 100%);
}

#listingsCarousel {
  position: relative;
  overflow: visible;
}

.listings-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.listing-card-slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: calc(33.333% - 1rem);
}

.listing-card {
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.listing-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 66.67%;
  background: #d3d3d3;
  overflow: hidden;
}

.listing-image {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  align-items: flex-start;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.listing-badge {
  background-color: #D99E32;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 0.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.listing-category-badge {
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 0.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 2;
  -webkit-backdrop-filter: blur(4px);
}

.listing-price-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.listing-price {
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

.listing-expand-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.3rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.listing-expand-btn:hover {
  background-color: rgba(217, 158, 50, 0.9);
  transform: scale(1.1);
}

.listing-content {
  padding: 1.25rem 1.25rem 1rem 1.25rem;
}

.listing-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.4rem 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.listing-location {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.listing-location::before {
  content: '📍';
  font-size: 0.75rem;
}

.listing-specs {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  padding: 0.625rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  justify-content: center;
}

.spec-item {
  font-size: 0.8rem;
  color: #374151;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.spec-item i {
  font-size: 1.5rem;
  color: #374151;
}

.spec-item span {
  line-height: 1.2;
}

.spec-item small {
  font-size: 0.7rem;
  color: #6b7280;
  font-weight: 500;
}

.listing-type {
  font-size: 0.7rem;
  color: #9ca3af;
  text-transform: uppercase;
  margin: 0 0 0.75rem 0;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.btn-listing-details {
  display: inline-block;
  background-color: #1a1a1a;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 2px solid #1a1a1a;
}

.btn-listing-details:hover {
  background-color: #D99E32;
  border-color: #D99E32;
  color: #1a1a1a;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 158, 50, 0.3);
}

.listings-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.listings-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #d0d0d0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.listings-dot.active {
  background-color: #D99E32;
}

/* Listing Modal */
.listing-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.listing-modal-content {
  background: #fff;
  border-radius: 0.5rem;
  max-width: 75rem;
  width: 100%;
  max-height: 90vh;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.listing-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.listing-modal-close:hover {
  background: rgba(217, 158, 50, 0.9);
  transform: rotate(90deg);
}

.listing-modal-body {
  display: flex;
  height: 100%;
  max-height: 100%;
}

.listing-modal-image-section {
  flex: 1.5 1 0;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.listing-modal-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.listing-modal-image-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.listing-modal-image-container {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-modal-image-container img,
.listing-modal-image-container video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.modal-image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-image-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.modal-image-prev {
  left: 1rem;
}

.modal-image-next {
  right: 1rem;
}

.modal-image-nav i {
  font-size: 1.5rem;
}

.modal-image-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.modal-image-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.modal-image-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.modal-image-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.listing-modal-details-section {
  flex: 1;
  padding: 3rem 2.5rem;
  overflow-y: auto;
  background: #fff;
}

.modal-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.listing-modal-details-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.modal-location {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 1.5rem 0;
}

.modal-price {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
}

.modal-code {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0 0 2rem 0;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

.modal-spec-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-spec-item i {
  font-size: 2rem;
  color: #374151;
}

.modal-spec-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}

.modal-spec-item small {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

@media (max-width: 64rem) {
  .listing-card-slide {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
  }

  .featured-listings-nav {
    position: static;
    justify-content: center;
    margin-top: 1rem;
  }

  .listings-carousel-wrapper {
    margin: 0 -8rem;
    padding: 0 8rem;
  }

  .listings-carousel-wrapper::before,
  .listings-carousel-wrapper::after {
    width: 8rem;
  }

  .listing-modal-body {
    flex-direction: column;
    height: auto;
  }

  .listing-modal-image-section {
    height: 50vh;
  }

  .modal-specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 48rem) {
  .listing-card-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .featured-listings-header h2 {
    font-size: 1.75rem;
  }

  .listings-carousel-wrapper {
    margin: 0 -5rem;
    padding: 0 5rem;
  }

  .listings-carousel-wrapper::before,
  .listings-carousel-wrapper::after {
    width: 5rem;
  }

  .listing-modal {
    padding: 0;
  }

  .listing-modal-content {
    max-height: 100vh;
    border-radius: 0;
  }

  .listing-modal-body {
    flex-direction: column;
    height: auto;
    max-height: 100vh;
  }

  .listing-modal-image-section {
    flex: none;
    height: min(45vh, 26rem);
    min-height: 18rem;
  }

  .listing-modal-image-container {
    padding: 1rem;
    overflow: hidden;
  }

  .listing-modal-image-container img,
  .listing-modal-image-container video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }

  .listing-modal-details-section {
    flex: none;
    max-height: calc(100vh - 45vh);
    overflow-y: auto;
    padding: 1.5rem;
  }

  .modal-image-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .modal-image-prev {
    left: 0.75rem;
  }

  .modal-image-next {
    right: 0.75rem;
  }

  .modal-image-dots {
    bottom: 0.75rem;
    gap: 0.35rem;
  }

  .listing-modal-content {
    max-width: 100%;
  }

  .listing-modal-details-section h2 {
    font-size: 1.5rem;
  }

  .modal-price {
    font-size: 1.5rem;
  }
}

@media (max-width: 36rem) {
  .listing-modal-image-section {
    height: min(40vh, 22rem);
  }

  .listing-modal-details-section {
    padding: 1rem;
  }

  .modal-image-nav {
    width: 2.25rem;
    height: 2.25rem;
  }

  .listing-modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
}

/* Responsive adjustment for mobile */
@media (max-width: 48rem) {
  .footer-links {
    justify-content: flex-start;
    gap: 1.875rem;
  }
}

/* Shared breadcrumb band */
.site-breadcrumb-band,
.article-breadcrumb-bar,
.enlist-breadcrumb-bar {
  background-color: #ffffff;
  border: none;
  box-shadow: none;
  padding: 0.35rem 0;
}

.site-breadcrumb-inner,
.article-breadcrumb-inner {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-breadcrumb-bar .breadcrumb {
  font-size: 0.82rem;
  margin: 0;
  --bs-breadcrumb-divider-color: #9ca3af;
  --bs-breadcrumb-item-active-color: #6b7280;
}

.article-breadcrumb-bar .breadcrumb-item a {
  color: #D99E32;
  text-decoration: none;
}

.article-breadcrumb-bar .breadcrumb-item a:hover {
  color: #b7821a;
  text-decoration: underline;
}

/* ARTICLE PAGE — LAYOUT */
.article-page-wrapper {
  background-color: #ffffff;
  padding: 3rem 1.5rem 4rem;
}

.article-page-container {
  max-width: 52rem;
  margin: 0 auto;
}

/* ARTICLE PAGE — HEADER */
.article-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.article-header-icon {
  margin-bottom: 1rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-header-icon img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

.article-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
  margin: 0;
}

@media (max-width: 48rem) {
  .article-title {
    font-size: 1.65rem;
  }
}

/* ARTICLE PAGE — CONTENT */
.article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
}

/* LEGAL PAGE STYLES */
section.legal-page-wrap {
  background: linear-gradient(180deg, #f8f7f3 0%, #ffffff 100%);
  padding: 3rem 1rem 4rem;
}

section.legal-page-wrap .legal-page-inner {
  max-width: 58rem;
  margin: 0 auto;
}

section.legal-page-wrap .legal-header {
  position: relative;
  background: linear-gradient(180deg, #111111 0%, #252525 100%);
  color: #ffffff;
  border-radius: 1rem;
  padding: 2.25rem 2rem;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

section.legal-page-wrap .legal-header::before {
  content: "";
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle at center, rgba(217, 158, 50, 0.3), transparent 55%);
  border-radius: 50%;
  pointer-events: none;
}

section.legal-page-wrap .legal-header h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

section.legal-page-wrap .legal-header p {
  margin: 0.75rem 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

section.legal-page-wrap .legal-date {
  display: inline-block;
  margin-top: 0.25rem;
  opacity: 0.84;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

section.legal-page-wrap .legal-card {
  background: #ffffff;
  border: 1px solid #e7e8ed;
  border-radius: 1.2rem;
  padding: 2.5rem;
  margin-top: -1.5rem;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08);
}

section.legal-page-wrap .legal-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #111827;
}

section.legal-page-wrap .legal-card p,
section.legal-page-wrap .legal-card ul {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.9;
  font-size: 1rem;
}

section.legal-page-wrap .legal-card ul {
  padding-left: 1.35rem;
}

section.legal-page-wrap .legal-card ul li {
  margin-bottom: 0.75rem;
}

section.legal-page-wrap .legal-card strong {
  color: #111827;
}

section.legal-page-wrap .legal-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 48rem) {
  section.legal-page-wrap {
    padding: 2rem 1rem 3rem;
  }

  section.legal-page-wrap .legal-header {
    padding: 1.75rem 1.25rem;
  }

  section.legal-page-wrap .legal-card {
    padding: 1.5rem 1.25rem;
    margin-top: -1rem;
  }

  section.legal-page-wrap .legal-card h2 {
    font-size: 1.35rem;
  }
}

/* Developer Landing Page */
.developer-page-wrap {
  padding: 0 0 4rem;
}

.developer-profile-wrap {
  padding: 2rem 0 4rem;
}

.developer-page-container,
.developer-profile-container {
  max-width: 72rem;
}

.developer-breadcrumb-nav {
  margin: 0;
}

.developer-breadcrumb {
  margin: 0;
  font-size: 0.82rem;
  --bs-breadcrumb-divider-color: #9ca3af;
  --bs-breadcrumb-item-active-color: #6b7280;
}

/* Developer list — page header */
.developer-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-top: 1.6rem;
  border-bottom: 1px solid #e8eaee;
  padding-bottom: 1.4rem;
}

.developer-page-header-text {
  text-align: left;
}

.developer-page-header-text h1 {
  margin: 0 0 0.3rem;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111827;
}

.developer-page-subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

/* Developer list — search form */
.developer-search-form {
  display: flex;
  gap: 0;
  width: min(100%, 24rem);
  flex-shrink: 0;
}

.developer-search-inner {
  position: relative;
  flex: 1;
}

.developer-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 0.9rem;
  pointer-events: none;
}

.developer-search-form .form-control {
  border-radius: 0.4rem 0 0 0.4rem;
  border-color: #d1d5db;
  border-right: none;
  padding-left: 2.2rem;
  height: 2.6rem;
  font-size: 0.9rem;
}

.developer-search-form .form-control:focus {
  border-color: #b7872a;
  box-shadow: none;
}

.developer-search-btn {
  height: 2.6rem;
  padding: 0 1.1rem;
  background: #b7872a;
  color: #fff;
  border: none;
  border-radius: 0 0.4rem 0.4rem 0;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.developer-search-btn:hover {
  background: #9e7021;
}

/* Developer list — grid */
.developer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.developer-card {
  background: #fff;
  border: 1px solid #e5e8ed;
  border-radius: 0.65rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s;
}

.developer-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-color: #d4912e;
  transform: translateY(-3px);
}

.developer-card-main {
  flex: 1;
  padding: 1.8rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.developer-logo-box {
  width: 7.5rem;
  height: 7.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  background: #f8f9fb;
  border-radius: 0.5rem;
  border: 1px solid #eef0f4;
  padding: 0.6rem;
}

.developer-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.developer-logo-fallback {
  color: #b7872a;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.developer-card h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1a202c;
}

.developer-card-footer {
  padding: 0.9rem 1.1rem;
  border-top: 1px solid #f0f2f5;
}

.developer-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.55rem 1rem;
  background: transparent;
  border: 1.5px solid #d4912e;
  border-radius: 0.4rem;
  color: #b7872a;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.developer-profile-btn:hover {
  background: #b7872a;
  color: #fff;
}

/* Developer list — pagination */
.developer-pagination-wrap {
  margin-top: 2rem;
}

.developer-pagination-wrap .page-link {
  color: #b8892d;
  border: none;
  background: transparent;
}

.developer-pagination-wrap .page-item.active .page-link {
  background: #b8892d;
  color: #fff;
  border-radius: 0.3rem;
}

/* ─── Developer Profile Page ─── */

.developer-profile-hero {
  background: #fff;
  border: 1px solid #e5e8ed;
  border-radius: 0.75rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  margin-bottom: 2rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.developer-profile-logo-wrap {
  padding: 2rem 1.8rem;
  background: #f8f9fb;
  border-right: 1px solid #edf0f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.developer-profile-logo {
  width: 11rem;
  height: 11rem;
  border: 1px solid #e5e8ed;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 0.6rem;
}

.developer-profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.developer-profile-info {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.developer-profile-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b7872a;
}

.developer-profile-eyebrow .bi {
  margin-right: 0.2rem;
}

.developer-profile-info h1 {
  margin: 0 0 0.8rem;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.developer-profile-desc {
  margin: 0 0 1rem;
  color: #4b5563;
  line-height: 1.72;
  font-size: 0.96rem;
  max-width: 52rem;
}

.developer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #b7821a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.developer-contact-link:hover {
  text-decoration: underline;
  color: #9e6c12;
}

.developer-profile-stat {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.25rem;
}

.developer-profile-stat span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

/* Developer profile — properties section */
.developer-properties-section {
  /* no wrapper styles needed */
}

.developer-properties-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid #f0f2f5;
}

.developer-properties-header h2 {
  margin: 0 0 0.2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.developer-properties-count {
  margin: 0;
  color: #9ca3af;
  font-size: 0.88rem;
}

.developer-properties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.developer-property-card {
  background: #fff;
  border: 1px solid #e5e8ed;
  border-radius: 0.65rem;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

.developer-property-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: #d4c4a0;
}

.developer-property-image-wrap {
  position: relative;
  height: 12rem;
  background: #edf1f6;
  overflow: hidden;
}

.developer-property-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease;
}

.developer-property-card:hover .developer-property-image-wrap img {
  transform: scale(1.05);
}

.developer-property-category {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.65rem;
  backdrop-filter: blur(4px);
}

.developer-property-content {
  padding: 1rem;
}

.developer-property-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1a202c;
  line-height: 1.35;
}

.developer-property-location {
  color: #6b7280;
  margin-bottom: 0.5rem;
  font-size: 0.86rem;
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  line-height: 1.45;
}

.developer-property-location .bi {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #b7872a;
}

.developer-property-price {
  margin: 0 0 0.65rem;
  color: #b7821a;
  font-weight: 700;
  font-size: 1.05rem;
}

.developer-property-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  color: #4b5563;
  font-size: 0.8rem;
  border-top: 1px solid #f0f2f5;
  padding-top: 0.6rem;
}

.developer-property-specs span {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.developer-no-listings {
  color: #6b7280;
  font-size: 0.95rem;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 75rem) {
  .developer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .developer-properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 62rem) {
  .developer-page-header {
    flex-direction: column;
    align-items: stretch;
  }

  .developer-search-form {
    width: 100%;
  }

  .developer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .developer-profile-hero {
    grid-template-columns: 1fr;
  }

  .developer-profile-logo-wrap {
    border-right: none;
    border-bottom: 1px solid #edf0f4;
    padding: 1.5rem;
  }

  .developer-profile-logo {
    width: 8rem;
    height: 8rem;
  }

  .developer-profile-info {
    padding: 1.5rem;
  }
}

@media (max-width: 36rem) {
  .developer-grid,
  .developer-properties-grid {
    grid-template-columns: 1fr;
  }
}

.article-intro {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
}

/* ARTICLE PAGE — STEP ITEMS ACCORDION */
.article-steps-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 2rem 0;
}

.article-step {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-step:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.article-step-header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  gap: 12px;
}

.article-step-header:hover {
  background: #ffffff;
}

.article-step-header[aria-expanded="true"] {
  background: #ffffff;
}

.article-step[aria-expanded="true"] {
  border-color: #D99E32;
}

.article-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  width: 36px;
  height: 36px;
  background: #D99E32;
  color: white;
  border-radius: 50%;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.article-step-header[aria-expanded="true"] .article-step-number {
  background: #c08822;
}

.article-step-title {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  line-height: 1.4;
}

.article-step-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  font-size: 20px;
  color: #D99E32;
  font-weight: bold;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.article-step-header[aria-expanded="true"] .article-step-toggle {
  transform: rotate(180deg);
  color: #c08822;
}

.article-step-content {
  padding: 0 20px 16px 68px;
  background: white;
  animation: slideDown 0.3s ease;
}

.article-step-content[hidden] {
  display: none;
}

.article-step-content p {
  margin: 0;
  color: #495057;
  line-height: 1.6;
  font-size: 15px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 576px) {
  .article-step-header {
    padding: 12px 14px;
    gap: 10px;
  }

  .article-step-number {
    min-width: 32px;
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .article-step-title {
    font-size: 14px;
  }

  .article-step-content {
    padding: 0 14px 12px 54px;
  }

  .article-step-toggle {
    min-width: 24px;
    height: 24px;
    font-size: 18px;
  }
}

/* ARTICLE PAGE — CTA BLOCK */
.article-cta {
  background-color: #1a1a1a;
  color: #ffffff;
  border-radius: 0.75rem;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.article-cta h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #D99E32;
}

.article-cta p {
  font-size: 1rem;
  color: #d1d5db;
  margin: 0 0 1.5rem 0;
}

.article-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-article-cta {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-article-cta-primary {
  background-color: #D99E32;
  color: #1a1a1a;
  border-color: #D99E32;
}

.btn-article-cta-primary:hover {
  background-color: #c88a1f;
  border-color: #c88a1f;
  color: #1a1a1a;
  transform: translateY(-2px);
}

.btn-article-cta-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-article-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ARTICLE PAGE — RELATED GUIDES */
.article-related {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 2px solid #f3f4f6;
}

.article-related-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
}

.article-related-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-related-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.article-related-card:hover {
  border-color: #D99E32;
  background-color: #fffbf2;
  color: inherit;
  text-decoration: none;
  transform: translateX(4px);
}

.article-related-card-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #D99E32;
  color: #ffffff;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.article-related-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.25rem 0;
}

.article-related-card p {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

/* HOME PAGE — EXPLORE CITIES */
.explore-cities-section {
  margin: 2rem 0 3.25rem;
  padding: 4rem 1.25rem;
  position: relative;
  background: #f3f4f5;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.explore-cities-section::before,
.explore-cities-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(207, 217, 227, 0.35);
  pointer-events: none;
}

.explore-cities-section::before {
  width: 19rem;
  height: 19rem;
  top: -7.5rem;
  right: 20%;
}

.explore-cities-section::after {
  width: 22rem;
  height: 22rem;
  right: -7rem;
  bottom: -8rem;
}

.explore-cities-layout {
  display: grid;
  grid-template-columns: clamp(9rem, 12vw, 11.5rem) minmax(0, 1fr);
  gap: clamp(0.6rem, 1vw, 1.2rem);
  align-items: stretch;
  position: relative;
  z-index: 1;
  max-width: min(100%, 96rem);
  margin: 0 auto;
  width: 100%;
}

.explore-cities-intro {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.explore-cities-intro h2 {
  margin: 0 0 0.85rem;
  font-size: 2.65rem;
  line-height: 1.05;
  font-weight: 600;
  color: #0f1216;
  text-align: center;
}

.explore-cities-intro p {
  margin: 0;
  color: #5f646b;
  font-size: 0.88rem;
  line-height: 1.9;
  max-width: 17rem;
  text-align: center;
}

.explore-cities-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  box-sizing: border-box;
}

.explore-city-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 27.1rem;
  border-radius: 0.2rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 10px 24px rgba(20, 26, 34, 0.2);
  filter: brightness(1.08);
  container-type: inline-size;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.explore-city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 18, 0.08) 0%, rgba(8, 14, 22, 0.68) 88%);
  transition: opacity 0.28s ease;
}

.explore-city-card:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(20, 26, 34, 0.28);
  filter: brightness(1);
}

.explore-city-card:hover .explore-city-overlay {
  opacity: 0.18;
}

.explore-city-content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  color: #fff;
  height: 100%;
  padding: 1.45rem 1.05rem 1.25rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  box-sizing: border-box;
}

.explore-city-count {
  margin: 0;
  font-size: clamp(0.52rem, 7cqw, 0.9rem);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.25;
  overflow-wrap: normal;
  white-space: nowrap;
}

.explore-city-content h3 {
  margin: 0.32rem 0 auto;
  font-size: clamp(0.75rem, 15cqw, 2.06rem);
  line-height: 1.04;
  font-weight: 400;
  max-width: 100%;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.explore-city-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.015em;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
}

.explore-city-link i {
  font-size: 0.8rem;
}

.explore-city-link:hover {
  color: #f4cf87;
}

.explore-cities-section.is-animate-ready .explore-cities-intro,
.explore-cities-section.is-animate-ready .explore-city-card {
  opacity: 0;
}

.explore-cities-section.is-visible .explore-cities-intro,
.explore-cities-section.is-visible .explore-city-card {
  animation: exploreCitiesReveal 920ms cubic-bezier(0.16, 0.8, 0.2, 1) forwards;
  animation-delay: var(--explore-delay, 0ms);
}

@keyframes exploreCitiesReveal {
  from {
    opacity: 0;
    transform: translateX(8.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .explore-cities-section.is-animate-ready .explore-cities-intro,
  .explore-cities-section.is-animate-ready .explore-city-card {
    opacity: 1;
  }

  .explore-cities-section.is-visible .explore-cities-intro,
  .explore-cities-section.is-visible .explore-city-card {
    animation: none;
  }
}

@media (max-width: 62rem) {
  .explore-cities-layout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .explore-cities-intro {
    width: 100%;
  }

  .explore-cities-intro p {
    max-width: 40rem;
  }

  .explore-cities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(12rem, 1fr));
    width: 100%;
    min-width: initial;
  }

  .explore-city-card {
    max-width: none;
    min-height: 22rem;
  }

}

@media (max-width: 70rem) {
  .explore-cities-section {
    margin: 1.2rem 0 2rem;
    padding: 1.4rem 1rem;
  }

  .explore-cities-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .explore-city-card {
    min-height: 22rem;
    width: 100%;
    max-width: 100%;
  }

  .explore-cities-intro h2 {
    font-size: 2rem;
  }

  .explore-cities-intro p {
    max-width: none;
  }
}

/* HOME PAGE — INQUIRY SECTION */
.home-inquiry-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 54rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.2rem;
}

.home-inquiry-inner {
  width: min(100%, 72rem);
  display: flex;
  justify-content: center;
}

.home-inquiry-card {
  width: min(100%, 60rem);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  border-radius: 0.55rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* --- Decorative Left Panel --- */
.inquiry-deco-panel {
  position: relative;
  width: 38%;
  flex-shrink: 0;
  background: linear-gradient(155deg, #d4912e 0%, #a8671a 58%, #7a4a0e 100%);
  padding: 2.8rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.inquiry-deco-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
}

.inquiry-deco-orb--1 {
  width: 17rem;
  height: 17rem;
  background: #fff;
  top: -5.5rem;
  right: -6rem;
}

.inquiry-deco-orb--2 {
  width: 12rem;
  height: 12rem;
  background: #fff;
  bottom: -4rem;
  left: -4rem;
}

.inquiry-deco-icon {
  font-size: 3.2rem;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
}

.inquiry-deco-title {
  margin: 0 0 0.75rem;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.28;
  color: #fff;
}

.inquiry-deco-sub {
  margin: 0 0 1.6rem;
  font-size: 0.85rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.82);
}

.inquiry-deco-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.inquiry-deco-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.inquiry-deco-list li .bi {
  font-size: 0.95rem;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* --- Form Right Panel --- */
.inquiry-form-panel {
  flex: 1;
  min-height: 0;
  background: #fff;
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.inquiry-form-panel h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e2126;
}

.home-inquiry-subtitle {
  margin: 0.35rem 0 1.1rem;
  color: #6b7280;
  font-size: 0.88rem;
}

.home-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  min-height: 0;
}

.home-inquiry-form label {
  font-weight: 700;
  font-size: 0.86rem;
  color: #272a2f;
  margin-bottom: 0.1rem;
  display: block;
}

.home-inquiry-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.home-inquiry-form .form-control,
.home-inquiry-form .form-select {
  height: 2.45rem;
  border-radius: 0.25rem;
  border-color: #d1d5db;
  font-size: 0.9rem;
}

.home-inquiry-form .form-control:focus,
.home-inquiry-form .form-select:focus {
  border-color: #b7872a;
  box-shadow: 0 0 0 0.18rem rgba(183, 135, 42, 0.18);
}

/* Price field: currency dropdown + formatted input */
.inquiry-price-group {
  display: flex;
  height: 2.45rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.inquiry-price-group:focus-within {
  border-color: #b7872a;
  box-shadow: 0 0 0 0.18rem rgba(183, 135, 42, 0.18);
}

.inquiry-currency-select {
  flex-shrink: 0;
  height: 100%;
  border: none;
  border-right: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0 0.55rem 0 0.6rem;
  cursor: pointer;
  outline: none;
  appearance: auto;
}

.inquiry-currency-select:focus {
  background: #f3f4f6;
}

.inquiry-price-input {
  flex: 1;
  height: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-left: 0.7rem;
  min-width: 0;
}

.home-inquiry-consent {
  color: #3a3f46;
  font-size: 0.9rem;
}

.home-inquiry-consent p {
  margin: 0 0 0.3rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.home-inquiry-consent label {
  margin: 0;
  font-weight: 500;
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.home-inquiry-submit {
  border: none;
  border-radius: 0.25rem;
  background: linear-gradient(90deg, #c8842a, #a06518);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: opacity 0.15s;
}

.home-inquiry-submit:hover {
  opacity: 0.88;
}

/* Inquiry form — stepper indicator */
.inquiry-stepper {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.inquiry-stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  flex-shrink: 0;
}

.inquiry-stepper-item p {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  color: #9ca3af;
  white-space: nowrap;
}

.inquiry-stepper-item.active p,
.inquiry-stepper-item.completed p {
  color: #b7872a;
}

.inquiry-stepper-dot {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.inquiry-stepper-item.active .inquiry-stepper-dot,
.inquiry-stepper-item.completed .inquiry-stepper-dot {
  background: #b7872a;
  border-color: #b7872a;
}

.inquiry-stepper-dot span {
  font-size: 0.65rem;
  font-weight: 700;
  color: #9ca3af;
  line-height: 1;
}

.inquiry-stepper-item.active .inquiry-stepper-dot span,
.inquiry-stepper-item.completed .inquiry-stepper-dot span {
  color: #fff;
}

.inquiry-stepper-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin: 0 0.2rem;
  margin-top: calc(1.7rem / 2);
  transition: background 0.2s;
}

.inquiry-stepper-line.completed {
  background: #b7872a;
}

/* Inquiry form — step panels */
.inquiry-step-panel {
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  min-height: 0;
}

.inquiry-step-panel.active {
  display: flex;
}

/* Step transition animations */
@keyframes iqEnterForward {
  from { opacity: 0; transform: translateX(22px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes iqExitForward {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-22px); }
}

@keyframes iqEnterBackward {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes iqExitBackward {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(22px); }
}

.inquiry-step-panel.iq-enter-fwd  { animation: iqEnterForward  0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.inquiry-step-panel.iq-exit-fwd   { animation: iqExitForward   0.20s ease-in forwards; pointer-events: none; }
.inquiry-step-panel.iq-enter-bwd  { animation: iqEnterBackward 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.inquiry-step-panel.iq-exit-bwd   { animation: iqExitBackward  0.20s ease-in forwards; pointer-events: none; }

/* Inquiry form — step navigation row */
.inquiry-step-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

.inquiry-step-nav--end {
  justify-content: flex-end;
}

.inquiry-back-btn {
  border: 1px solid #d1d5db;
  background: transparent;
  border-radius: 0.25rem;
  color: #4b5563;
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
}

.inquiry-back-btn:hover {
  background: #f3f4f6;
}

.inquiry-next-btn {
  border: none;
  background: linear-gradient(90deg, #c8842a, #a06518);
  border-radius: 0.25rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.15s;
}

.inquiry-next-btn:hover {
  opacity: 0.88;
}

@media (max-width: 50rem) {
  .inquiry-deco-panel {
    display: none;
  }

  .home-inquiry-card {
    border-radius: 0.4rem;
    width: min(100%, 36rem);
  }

  .inquiry-form-panel {
    padding: 1.8rem 1.4rem;
  }
}

@media (max-width: 62rem) {
  .home-inquiry-section {
    min-height: auto;
    background-attachment: scroll;
  }
}

@media (max-width: 36rem) {
  .inquiry-form-panel {
    padding: 1.4rem 1rem;
  }

  .inquiry-form-panel h3 {
    font-size: 1.3rem;
  }

  .home-inquiry-row-two {
    grid-template-columns: 1fr;
  }
}

/* HOME PAGE — HOW DOES IT WORK SECTION */
.how-it-works-section {
  padding: 4.5rem 1.5rem;
  background-color: #f9f9f9;
  text-align: center;
}

.how-it-works-inner {
  max-width: 68rem;
  margin: 0 auto;
}

.how-it-works-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D99E32;
  margin-bottom: 0.5rem;
}

.how-it-works-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.6rem 0;
}

.how-it-works-section > .how-it-works-inner > p {
  color: #6b7280;
  font-size: 1rem;
  margin: 0 0 2.75rem 0;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: left;
}

@media (max-width: 62rem) {
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 36rem) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}

.how-it-works-card {
  display: block;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.how-it-works-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #D99E32;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.how-it-works-card:hover {
  border-color: #D99E32;
  box-shadow: 0 8px 24px rgba(217, 158, 50, 0.12);
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.how-it-works-card:hover::before {
  transform: scaleX(1);
}

.how-it-works-card-icon {
  width: 3rem;
  height: 3rem;
  background-color: #1a1a1a;
  color: #D99E32;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.how-it-works-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}

.how-it-works-card p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 1.1rem 0;
  line-height: 1.6;
}

.how-it-works-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #D99E32;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.how-it-works-card:hover .how-it-works-card-link {
  gap: 0.6rem;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.75rem;
  height: 2.75rem;
  background-color: #D99E32;
  color: #1a1a1a;
  border: none;
  border-radius: 0.4rem;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #c88a1f;
  color: #1a1a1a;
}

/* ============================================================
   ABOUT PAGE — SHARED SECTION STRUCTURE
   ============================================================ */
.about-section {
  padding: 2.5rem 1.5rem;
}

.about-alt-white {
  background-color: #ffffff;
}

.about-alt-gray {
  background-color: #f5f5f5;
}

.about-section-inner {
  max-width: 75rem;
  margin: 0 auto;
}

/* Consistent section header — icon + title + subtitle, always centered */
.about-section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.about-section-header .article-header-icon {
  margin-bottom: 0.75rem;
}

.about-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.6rem 0;
  line-height: 1.25;
}

.about-section-subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================================
   ABOUT PAGE — PROSE (Who Are We / Why FindAPlacePH)
   ============================================================ */
.about-prose {
  max-width: 52rem;
  margin: 0 auto;
}

.about-prose p {
  font-size: 1rem;
  line-height: 1.85;
  color: #374151;
  margin-bottom: 1.25rem;
  text-align: justify;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   ABOUT PAGE — VISION CARDS GRID
   ============================================================ */
.about-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 62rem) {
  .about-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 36rem) {
  .about-vision-grid {
    grid-template-columns: 1fr;
  }
}

.about-vision-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  text-align: left;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.about-vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #D99E32;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.about-vision-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: #D99E32;
}

.about-vision-card:hover::before {
  transform: scaleX(1);
}

.about-vision-card-icon {
  width: 3rem;
  height: 3rem;
  background-color: #1a1a1a;
  color: #D99E32;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.about-vision-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}

.about-vision-card p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   ABOUT PAGE — TEAM GRID
   ============================================================ */
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
}

@media (max-width: 62rem) {
  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 36rem) {
  .about-team-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ABOUT PAGE — TEAM CARD
   ============================================================ */
.about-team-card {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}

.about-team-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-team-card-front {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.about-team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
  padding: 2.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.about-team-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.about-team-role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.about-team-card-back {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  overflow: hidden;
}

.about-team-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) brightness(0.2);
  transform: scale(1.08);
}

.about-team-card-back-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #ffffff;
}

.about-team-card-back-content .about-team-name {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  display: block;
}

.about-team-card-back-content .about-team-role {
  color: #D99E32;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

.about-team-bio {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.25rem 0;
}

.about-team-socials {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
}

.about-team-socials a {
  color: #ffffff;
  font-size: 1.15rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.about-team-socials a:hover {
  color: #D99E32;
  transform: translateY(-2px);
}

.about-team-card:hover .about-team-card-front {
  opacity: 0.12;
}

.about-team-card:hover .about-team-card-back {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================================
   ABOUT PAGE — WHY SPLIT (image left, content right)
   ============================================================ */
.about-why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}

@media (max-width: 62rem) {
  .about-why-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-why-image {
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  min-height: 20rem;
}

.about-why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-why-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Override .about-prose max-width inside the split layout */
.about-why-content .about-prose {
  max-width: 100%;
}

.about-why-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-why-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

.about-why-highlight-item i {
  color: #D99E32;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-why-cta {
  align-self: flex-start;
}

@media (max-width: 48rem) {
  .developer-logo-slide {
    width: 7.5rem;
    height: 7.5rem;
  }

  .developer-logo-slide img {
    width: 7.5rem;
    height: 7.5rem;
  }
}

/* ============================================================
   ENLIST PAGE — HERO BANNER
   ============================================================ */
.enlist-hero {
  position: relative;
  background-color: #1a1a1a;
  overflow: hidden;
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
}

.enlist-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(217,158,50,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 85% 40%, rgba(217,158,50,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.enlist-hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217,158,50,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,158,50,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.enlist-hero-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}

.enlist-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217,158,50,0.12);
  border: 1px solid rgba(217,158,50,0.3);
  color: #D99E32;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.enlist-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #D99E32;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.enlist-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.enlist-hero h1 span {
  color: #D99E32;
}

.enlist-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.enlist-hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.enlist-stat {
  text-align: center;
}

.enlist-stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #D99E32;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.enlist-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   ENLIST PAGE — BREADCRUMB
   ============================================================ */
.enlist-breadcrumb-bar {
  background: #ffffff;
  border: none;
  box-shadow: none;
  padding: 0.35rem 0;
}

.enlist-breadcrumb-bar .breadcrumb {
  margin: 0;
  font-size: 0.82rem;
  --bs-breadcrumb-divider-color: #9ca3af;
  --bs-breadcrumb-item-active-color: #6b7280;
}

.enlist-breadcrumb-bar .breadcrumb-item a {
  color: #D99E32;
  text-decoration: none;
}

/* ============================================================
   ENLIST PAGE — MAIN LAYOUT
   ============================================================ */
.enlist-page-wrap {
  background: #f5f5f7;
  padding: 3rem 1.5rem 5rem;
  min-height: 60vh;
}

.enlist-page-inner {
  max-width: 75rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 22rem;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 62rem) {
  .enlist-page-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ENLIST PAGE — FORM CARD
   ============================================================ */
.enlist-form-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.enlist-form-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.enlist-form-header-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(217,158,50,0.15);
  border: 1px solid rgba(217,158,50,0.3);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D99E32;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.enlist-form-header h2 {
  margin: 0 0 0.15rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.enlist-form-header p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* Form sections */
.enlist-form-body {
  padding: 0;
}

.enlist-form-section {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.enlist-form-section:last-of-type {
  border-bottom: none;
}

.enlist-section-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D99E32;
  margin-bottom: 1.25rem;
}

.enlist-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(217,158,50,0.25), transparent);
}

/* ============================================================
   FORM FIELDS — FLOATING LABELS
   ============================================================ */
.enlist-field-group {
  display: grid;
  gap: 1rem;
}

.enlist-field-group.cols-2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 36rem) {
  .enlist-field-group.cols-2 {
    grid-template-columns: 1fr;
  }
}

.enlist-field {
  position: relative;
}

.enlist-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.45rem;
}

.enlist-field label .required-star {
  color: #ef4444;
  margin-left: 0.2rem;
}

.enlist-field input,
.enlist-field select,
.enlist-field textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: #1a1a1a;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.enlist-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.enlist-gdpr-label input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: #D99E32;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: checkbox;
}

.enlist-field input:focus,
.enlist-field select:focus,
.enlist-field textarea:focus {
  border-color: #D99E32;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(217,158,50,0.1);
}

.enlist-field input.is-error,
.enlist-field select.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.field-error-msg {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.3rem;
  display: none;
}

.enlist-field.has-error .field-error-msg {
  display: block;
}

.enlist-field input:valid:not(:placeholder-shown):not(.is-error) {
  border-color: #10b981;
}

/* ============================================================
   FILE UPLOAD
   ============================================================ */
.enlist-file-drop {
  border: 2px dashed #d0d0d0;
  border-radius: 0.75rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #fafafa;
  position: relative;
}

.enlist-file-drop:hover,
.enlist-file-drop.dragover {
  border-color: #D99E32;
  background: rgba(217,158,50,0.03);
}

.enlist-file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.enlist-file-drop-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(217,158,50,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #D99E32;
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.enlist-file-drop:hover .enlist-file-drop-icon {
  transform: translateY(-3px);
}

.enlist-file-drop p {
  margin: 0 0 0.35rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.enlist-file-drop p span {
  color: #D99E32;
  text-decoration: underline;
  cursor: pointer;
}

.enlist-file-drop small {
  font-size: 0.78rem;
  color: #9ca3af;
}

.enlist-file-list {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.enlist-file-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f9f9f9;
  border: 1px solid #e5e7eb;
  border-radius: 0.4rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  color: #374151;
}

.enlist-file-item i {
  color: #D99E32;
}

.enlist-file-item .file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enlist-file-item .remove-file {
  color: #9ca3af;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1;
  transition: color 0.2s;
}

.enlist-file-item .remove-file:hover {
  color: #ef4444;
}

/* ============================================================
   SUBMIT BUTTON
   ============================================================ */
.enlist-submit-wrap {
  padding: 1.5rem 2rem 2rem;
}

.enlist-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #D99E32 0%, #E09C3A 100%);
  color: #1a1a1a;
  border: none;
  border-radius: 0.6rem;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.enlist-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.enlist-submit-btn:hover::before {
  opacity: 1;
}

.enlist-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,158,50,0.35);
}

.enlist-submit-btn:active {
  transform: translateY(0);
}

.enlist-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.enlist-submit-btn .spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(26,26,26,0.3);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.enlist-submit-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   SUCCESS STATE
   ============================================================ */
.enlist-success-state {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
}

.enlist-success-icon {
  width: 5rem;
  height: 5rem;
  background: rgba(16,185,129,0.1);
  border: 2px solid #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #10b981;
  font-size: 2rem;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.enlist-success-state h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
}

.enlist-success-state p {
  color: #6b7280;
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.enlist-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.enlist-sidebar-card {
  background: #ffffff;
  border-radius: 0.875rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.enlist-sidebar-card-header {
  background: #1a1a1a;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.enlist-sidebar-card-header i {
  color: #D99E32;
  font-size: 1.1rem;
}

.enlist-sidebar-card-header h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.enlist-sidebar-card-body {
  padding: 1.25rem;
}

.enlist-why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.enlist-why-item:last-child {
  margin-bottom: 0;
}

.enlist-why-icon {
  width: 2rem;
  height: 2rem;
  background: rgba(217,158,50,0.1);
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D99E32;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.enlist-why-item h5 {
  margin: 0 0 0.2rem 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a1a;
}

.enlist-why-item p {
  margin: 0;
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.5;
}

.enlist-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.85rem;
  color: #374151;
}

.enlist-contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.enlist-contact-item i {
  color: #D99E32;
  font-size: 1rem;
  width: 1.2rem;
  text-align: center;
  flex-shrink: 0;
}

.enlist-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.enlist-steps-list li {
  counter-increment: step-counter;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.82rem;
  color: #374151;
  line-height: 1.45;
}

.enlist-steps-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.enlist-steps-list li::before {
  content: counter(step-counter);
  min-width: 1.5rem;
  height: 1.5rem;
  background: #D99E32;
  color: #1a1a1a;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── SEARCH BAR ──────────────────────────────────────────────────────────── */
.fap-search-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #1a1a1a;
  border-bottom: 2px solid #D99E32;
  padding: 0.85rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.fap-search-inner {
  max-width: 90rem;
  margin: 0 auto;
}

/* Row 1 */
.fap-search-row1 {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.fap-keyword-wrap {
  flex: 1;
  position: relative;
}

.fap-keyword-wrap i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 0.9rem;
  pointer-events: none;
}

.fap-keyword-wrap input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border: 1.5px solid #3a3a3a;
  border-radius: 0.45rem;
  background: #2a2a2a;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.fap-keyword-wrap input::placeholder { color: #6b7280; }

.fap-keyword-wrap input:focus {
  border-color: #D99E32;
  background: #222;
}

/* Category pill buttons */
.fap-cat-pills {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.fap-cat-pill {
  padding: 0.55rem 1rem;
  border: 1.5px solid #3a3a3a;
  border-radius: 0.4rem;
  background: #2a2a2a;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.fap-cat-pill:hover,
.fap-cat-pill.active {
  background: #D99E32;
  border-color: #D99E32;
  color: #1a1a1a;
  text-decoration: none;
}

/* Advanced toggle */
.fap-adv-toggle {
  padding: 0.55rem 1rem;
  border: 1.5px solid #3a3a3a;
  border-radius: 0.4rem;
  background: transparent;
  color: #9ca3af;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.fap-adv-toggle:hover,
.fap-adv-toggle.active {
  border-color: #D99E32;
  color: #D99E32;
}

.fap-adv-toggle .adv-chevron {
  transition: transform 0.25s ease;
}

.fap-adv-toggle.active .adv-chevron {
  transform: rotate(180deg);
}

/* Active filters badge */
.filter-badge {
  background: #D99E32;
  color: #1a1a1a;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  min-width: 1.1rem;
  text-align: center;
}

/* Search button */
.fap-search-btn {
  padding: 0.6rem 1.5rem;
  background: #D99E32;
  color: #1a1a1a;
  border: none;
  border-radius: 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.fap-search-btn:hover {
  background: #c08822;
  transform: translateY(-1px);
}

/* ── ADVANCED FILTERS PANEL ──────────────────────────────────────────────── */
.fap-adv-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.fap-adv-panel.open {
  max-height: 20rem;
}

.fap-adv-body {
  padding: 0.85rem 0 0.2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr) repeat(3, 1fr);
  gap: 0.5rem;
}

/* Custom select */
.fap-filter-select {
  position: relative;
}

.fap-filter-select select,
.fap-filter-input {
  width: 100%;
  padding: 0.55rem 2rem 0.55rem 0.85rem;
  border: 1.5px solid #3a3a3a;
  border-radius: 0.4rem;
  background: #2a2a2a;
  color: #d1d5db;
  font-size: 0.8rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
}

.fap-filter-input {
  background-image: none;
  padding-right: 0.85rem;
}

.fap-filter-select select:focus,
.fap-filter-input:focus {
  border-color: #D99E32;
}

.fap-filter-select select::placeholder,
.fap-filter-input::placeholder { color: #6b7280; }

.fap-filter-select select option { background: #2a2a2a; color: #ffffff; }

.fap-adv-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: #2a2a2a;
  margin: 0.15rem 0;
}

/* Row 2 of advanced (bedrooms + price + area) */
.fap-adv-row2 {
  padding: 0 0 0.5rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

/* Numeric steppers (Beds/Baths/Parking) */
.fap-stepper {
  width: 100%;
  display: flex;
  align-items: stretch;
  border: 1.5px solid #3a3a3a;
  border-radius: 0.4rem;
  background: #2a2a2a;
  overflow: hidden;
}

.fap-stepper:focus-within {
  border-color: #D99E32;
}

.fap-stepper-btn {
  width: 2.2rem;
  border: none;
  background: transparent;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.fap-stepper-btn:hover {
  color: #D99E32;
  background: rgba(217,158,50,0.12);
}

.fap-stepper-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #d1d5db;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 0.45rem;
  text-align: center;
}

.fap-stepper-input::placeholder {
  color: #6b7280;
  font-weight: 600;
}

/* ── ACTIVE FILTER TAGS ──────────────────────────────────────────────────── */
.fap-active-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.fap-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(217,158,50,0.12);
  border: 1px solid rgba(217,158,50,0.3);
  color: #D99E32;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
}

.fap-filter-tag i { font-size: 0.65rem; }
.fap-filter-tag:hover { background: rgba(217,158,50,0.2); color: #D99E32; }

.fap-clear-all {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(239,68,68,0.3);
  background: rgba(239,68,68,0.05);
  text-decoration: none;
}

.fap-clear-all:hover { background: rgba(239,68,68,0.1); color: #ef4444; }

/* ── PAGE LAYOUT ─────────────────────────────────────────────────────────── */
.fap-page-wrap {
  background: #f3f4f6;
  min-height: 60vh;
  padding: 1.75rem 1.5rem 4rem;
}

.fap-page-inner {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 62rem) {
  .fap-page-inner { grid-template-columns: 1fr; }
}

/* ── BREADCRUMB ──────────────────────────────────────────────────────────── */
.fap-breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 0;
  --bs-breadcrumb-divider-color: #9ca3af;
  --bs-breadcrumb-item-active-color: #6b7280;
}

.fap-breadcrumb .breadcrumb-item a { color: #D99E32; text-decoration: none; }

/* ── RESULTS HEADER ──────────────────────────────────────────────────────── */
.fap-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.fap-results-info h1 {
  margin: 0 0 0.2rem 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a1a1a;
}

.fap-results-count {
  font-size: 0.82rem;
  color: #6b7280;
}

.fap-results-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.fap-sort-select {
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 0.4rem;
  background: #fff;
  font-size: 0.8rem;
  color: #374151;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  outline: none;
  cursor: pointer;
}

.fap-sort-select:focus { border-color: #D99E32; }

.fap-view-toggle {
  display: flex;
  border: 1.5px solid #e0e0e0;
  border-radius: 0.4rem;
  overflow: hidden;
}

.fap-view-btn {
  padding: 0.42rem 0.65rem;
  background: #fff;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.15s;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.fap-view-btn:hover { color: #374151; }

.fap-view-btn.active {
  background: #1a1a1a;
  color: #D99E32;
}

/* ── LISTING GRID ────────────────────────────────────────────────────────── */
.fap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

@media (max-width: 80rem) { .fap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 48rem) { .fap-grid { grid-template-columns: 1fr; } }

/* ── LISTING CARD (grid) ─────────────────────────────────────────────────── */
.fap-card {
  background: #fff;
  border-radius: 0.6rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.fap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.fap-card-img {
  position: relative;
  padding-bottom: 62%;
  background: #d1d5db;
  overflow: hidden;
  flex-shrink: 0;
}

.fap-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fap-card:hover .fap-card-img img { transform: scale(1.04); }

.fap-card-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d1d5db, #e5e7eb);
  color: #9ca3af;
  font-size: 2.5rem;
}

.fap-card-badges {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.fap-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 0.25rem;
}

.fap-badge-featured { background: #ef4444; color: #fff; }
.fap-badge-preselling { background: #1a1a1a; color: #D99E32; }
.fap-badge-resale { background: #1a1a1a; color: #fff; }
.fap-badge-rent { background: #0369a1; color: #fff; }
.fap-badge-type { background: rgba(0,0,0,0.65); color: #fff; backdrop-filter: blur(4px); }

.fap-card-price-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  padding: 1.5rem 0.75rem 0.65rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.fap-card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  line-height: 1;
}

.fap-card-body {
  padding: 1rem 1rem 0.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fap-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.3rem 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fap-card-location {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 0 0 0.7rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.fap-card-specs {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.fap-spec {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #374151;
  font-weight: 600;
}

.fap-spec i { color: #6b7280; font-size: 0.85rem; }

.fap-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.fap-card-dev {
  font-size: 0.72rem;
  color: #9ca3af;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fap-details-btn {
  padding: 0.45rem 1rem;
  background: #1a1a1a;
  color: #fff;
  border: 2px solid #1a1a1a;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.fap-details-btn:hover {
  background: #D99E32;
  border-color: #D99E32;
  color: #1a1a1a;
  text-decoration: none;
}

/* ── LIST VIEW ───────────────────────────────────────────────────────────── */
.fap-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fap-list-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 14rem 1fr auto;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fap-list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.fap-list-img {
  position: relative;
  height: 10rem;
  background: #d1d5db;
  overflow: hidden;
}

.fap-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.fap-list-card:hover .fap-list-img img { transform: scale(1.05); }

.fap-list-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.fap-list-body .fap-card-title { font-size: 1rem; }

.fap-list-specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.fap-list-price-col {
  padding: 1rem 1.25rem 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 10rem;
}

.fap-list-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: right;
}

@media (max-width: 48rem) {
  .fap-list-card {
    grid-template-columns: 10rem 1fr;
    grid-template-rows: auto auto;
  }
  .fap-list-img { height: 8rem; }
  .fap-list-price-col {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    padding: 0.75rem 1rem;
    border-top: 1px solid #f3f4f6;
  }
}

/* ── NO RESULTS ──────────────────────────────────────────────────────────── */
.fap-no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
}

.fap-no-results-icon {
  width: 4.5rem;
  height: 4.5rem;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: #9ca3af;
}

.fap-no-results h3 { font-size: 1.25rem; color: #1a1a1a; margin: 0 0 0.5rem 0; }
.fap-no-results p  { color: #6b7280; margin: 0 0 1.5rem 0; }

/* ── PAGINATION ──────────────────────────────────────────────────────────── */
.fap-pagination {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.fap-page-btn {
  padding: 0.5rem 0.85rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 0.4rem;
  background: #fff;
  color: #374151;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  display: flex;
  align-items: center;
}

.fap-page-btn:hover { border-color: #D99E32; color: #D99E32; text-decoration: none; }

.fap-page-btn.active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #D99E32;
}

.fap-page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ── SIDEBAR ─────────────────────────────────────────────────────────────── */
.fap-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.fap-sidebar-card {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.fap-sidebar-header {
  background: #1a1a1a;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.fap-sidebar-header i { color: #D99E32; }

.fap-featured-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.fap-featured-item:last-child { border-bottom: none; }
.fap-featured-item:hover { background: #fafafa; text-decoration: none; color: inherit; }

.fap-featured-thumb {
  width: 4.5rem;
  height: 3.5rem;
  border-radius: 0.35rem;
  object-fit: cover;
  background: #e5e7eb;
  flex-shrink: 0;
}

.fap-featured-thumb-placeholder {
  width: 4.5rem;
  height: 3.5rem;
  border-radius: 0.35rem;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  flex-shrink: 0;
}

.fap-featured-info { flex: 1; overflow: hidden; }

.fap-featured-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.2rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.fap-featured-price {
  font-size: 0.78rem;
  color: #D99E32;
  font-weight: 700;
}

.fap-featured-loc {
  font-size: 0.72rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.15rem;
}

/* CTA sidebar card */
.fap-cta-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  border-radius: 0.75rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fap-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(217,158,50,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.fap-cta-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
}

.fap-cta-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin: 0 0 1.1rem 0;
  line-height: 1.5;
}

.fap-cta-btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: #D99E32;
  color: #1a1a1a;
  border-radius: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.fap-cta-btn:hover {
  background: #c08822;
  color: #1a1a1a;
  text-decoration: none;
  transform: translateY(-2px);
}

/* responsive search */
@media (max-width: 62rem) {
  .fap-cat-pills { display: none; }
  .fap-adv-body  { grid-template-columns: repeat(2, 1fr); }
  .fap-adv-row2  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 36rem) {
  .fap-search-row1 { flex-wrap: wrap; }
  .fap-adv-body    { grid-template-columns: 1fr; }
  .fap-adv-row2    { grid-template-columns: 1fr; }
}
