/* Hero Gradient Section - Reusable beige/wheat gradient */
.hero-gradient {
  background: linear-gradient(135deg, #f0eadd 0%, #ffffff 100%);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-gradient .container {
  text-align: center;
}

.hero-gradient h1 {
  color: #1a1a1a;
}

.hero-gradient p {
  color: #333;
}

/* Custom Property Map Markers */
.custom-property-marker {
  background: none !important;
  border: none !important;
}

.property-marker {
  position: relative;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.property-marker:hover {
  transform: scale(1.1);
}

.marker-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-icon-circle {
  background: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  border: 2px solid #D4AF37;
}

.marker-favicon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.marker-price {
  background: white;
  color: #333;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  white-space: nowrap;
  margin-top: 2px;
}

.property-marker:hover .marker-icon-circle {
  border-color: #B8941F;
  transform: scale(1.05);
}

.property-marker:hover .marker-price {
  background: #D4AF37;
  color: white;
  border-color: #D4AF37;
}

/* Map Popup Styles */
.leaflet-popup-content {
  margin: 0 !important;
  padding: 0 !important;
}

.map-popup {
  min-width: 280px;
  max-width: 300px;
}

.map-popup .btn:hover {
  background-color: #B8941F !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ================================================
   ASSESSMENT CTA COMPONENTS
   ================================================ */

/* Shared Button Styles */
.pa-btn-gold {
  background-color: #b19260;
  color: #142f5b;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.pa-btn-gold:hover {
  background-color: #9a7d4f;
  color: #142f5b;
  transform: translateY(-1px);
}

.pa-btn-navy {
  background-color: #142f5b;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.pa-btn-navy:hover {
  background-color: #0a1628;
  color: #fff;
  transform: translateY(-1px);
}

.pa-btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.pa-btn-outline-light:hover {
  border-color: #b19260;
  color: #b19260;
  transform: translateY(-1px);
}

/* --- Notification Bar --- */
.pa-notification-bar {
  background: #c9ad7a;
  padding: 0.55rem 0;
  position: relative;
  z-index: 1100;
}
.pa-notification-bar .container {
  position: relative;
}
.pa-notification-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pa-notification-bar-text {
  color: #142f5b;
  font-size: 0.85rem;
  font-weight: 500;
}
.pa-notification-bar-link {
  color: #142f5b;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.pa-notification-bar-link:hover {
  opacity: 0.75;
  color: #142f5b;
}
.pa-notification-bar-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #142f5b;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  padding: 0.25rem;
  line-height: 1;
}
.pa-notification-bar-close:hover {
  opacity: 1;
}

/* --- Assessment Banner (Homepage) --- */
.pa-assessment-banner {
  background: linear-gradient(135deg, #142f5b 0%, #0d1f3c 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.pa-assessment-banner::before,
.pa-assessment-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #b19260 50%, transparent 100%);
}
.pa-assessment-banner::before { top: 0; }
.pa-assessment-banner::after { bottom: 0; }

.pa-assessment-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #b19260;
  margin-bottom: 0.75rem;
}
.pa-assessment-banner-title {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.pa-assessment-banner-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pa-assessment-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(177,146,96,0.25);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pa-assessment-card:hover {
  transform: translateY(-4px);
  border-color: #b19260;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.pa-assessment-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.pa-assessment-card-icon--compliance {
  background: rgba(177,146,96,0.15);
  color: #b19260;
}
.pa-assessment-card-icon--health {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.pa-assessment-card-heading {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.pa-assessment-card-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.pa-assessment-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.pa-assessment-card-list li {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}
.pa-assessment-card-list li::before {
  content: "\f145";
  font-family: "finder-icons";
  position: absolute;
  left: 0;
  color: #b19260;
  font-size: 0.8rem;
}
.pa-assessment-card-time {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}
.pa-assessment-card-time i {
  margin-right: 0.3rem;
}

/* --- Inline Contextual CTA --- */
.pa-inline-cta {
  background: #f0eadd;
  border-left: 4px solid #b19260;
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
  transition: box-shadow 0.3s ease;
}
.pa-inline-cta:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.pa-inline-cta-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b19260;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pa-inline-cta-body {
  flex: 1;
}
.pa-inline-cta-heading {
  font-size: 1rem;
  color: #142f5b;
  margin-bottom: 0.15rem;
}
.pa-inline-cta-desc {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0;
}
.pa-inline-cta-action {
  flex-shrink: 0;
}
@media (max-width: 767.98px) {
  .pa-inline-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }
}

/* --- Location Page CTA --- */
.pa-location-cta {
  background: #f0eadd;
  padding: 4rem 0;
  position: relative;
}
.pa-location-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #b19260;
  border-radius: 2px;
}
.pa-location-cta-title {
  color: #142f5b;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.pa-location-cta-subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.pa-location-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pa-location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.pa-location-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}
.pa-location-card-icon--compliance {
  background: rgba(177,146,96,0.15);
  color: #b19260;
}
.pa-location-card-icon--health {
  background: rgba(20,47,91,0.08);
  color: #142f5b;
}
.pa-location-card-heading {
  font-size: 1rem;
  color: #142f5b;
  margin-bottom: 0.5rem;
}
.pa-location-card-desc {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* --- Exit Intent Modal --- */
.pa-exit-modal .modal-content {
  background: linear-gradient(135deg, #142f5b 0%, #0d1f3c 100%);
  border: 1px solid rgba(177,146,96,0.2);
  border-radius: 8px;
  overflow: hidden;
}
.pa-exit-modal .modal-body {
  padding: 3rem 2.5rem;
  position: relative;
}
.pa-exit-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.25rem;
  line-height: 1;
}
.pa-exit-modal-close:hover {
  color: #fff;
}
.pa-exit-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(177,146,96,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  color: #b19260;
  font-size: 1.75rem;
}
.pa-exit-modal-heading {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.pa-exit-modal-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}
.pa-exit-modal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.pa-exit-modal-list li {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
}
.pa-exit-modal-list li::before {
  content: "\f145";
  font-family: "finder-icons";
  position: absolute;
  left: 0;
  color: #b19260;
  font-size: 0.85rem;
}
.pa-exit-modal-time {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.75rem;
}
.pa-exit-modal-dismiss {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  width: 100%;
}
.pa-exit-modal-dismiss:hover {
  color: rgba(255,255,255,0.6);
}

/* --- Navbar Assessment Badge --- */
.pa-nav-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #b19260;
  color: #142f5b;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  margin-left: 0.5rem;
  vertical-align: middle;
}