:root {
  --primary: #D48F59;
  --accent: #BD7F4F;
  --text: #232323;
  --bg: #F7F7F7;
  --surface: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.07);
  --radius: 1.1rem;
  --font-sans: 'Inter', 'Poppins', Arial, sans-serif;
}

/* --- Global Styles --- */
html, body {
  height: 100%;
  width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  margin: 0;
  padding: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover {
  color: var(--accent);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
}
h1.display-3, h1.display-4 {
  font-size: 2.6rem;
  color: var(--primary);
}
p.lead {
  font-size: 1.25rem;
  color: #555;
}

.badge.bg-black-outline {
  background-color: transparent !important;
  border: 1.5px solid #232323 !important;
  color: #232323 !important;
}

/* --- Navbar --- */
.custom-navbar {
  background: var(--surface);
  box-shadow: var(--shadow);
  border-bottom: 1.5px solid #e0e0e0;
z-index: 9999;
}
.custom-navbar .navbar-brand {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--primary) !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.custom-navbar .navbar-logo {
  /* keep your existing height constraint */
  height: 72px;
  width: auto;
  /* now scale it up */
  transform: scale(1.3);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.custom-navbar .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  margin-left: 1.2rem;
  transition: color 0.15s;
}
.custom-navbar .nav-link.active,
.custom-navbar .nav-link:hover {
  color: var(--accent) !important;
  text-shadow: 0 2px 8px rgba(0,106,180,0.07);
  text-decoration: none;
	font-weight: 800;
  font-size: 1.06rem;
}
.navbar-toggler {
  border: none;
}
.navbar .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'><path stroke='rgba(35,35,35,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}
/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6vh;
  border-radius: var(--radius);
  box-shadow: 0 8px 36px rgba(0, 106, 180, 0.09);
  margin-top: 2rem;
  margin-bottom: 3rem;
  color: #fff;
  background: linear-gradient(115deg, rgba(0,106,180,0.90) 0%, rgba(84,0,180,0.68) 100%), url('...') center center/cover no-repeat;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: inherit;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(22,22,26,0.30);
  z-index: 2;
}
.hero-section .container {
  position: relative;
  z-index: 3;
  background: none;

}
.hero-section h1,
.hero-section .display-3 {
  font-size: 3.7rem;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 8px 36px rgba(0,0,0,0.22);
}
.hero-section p.lead {
  color: #f3f3f3;
  opacity: 0.95;
}
/* --- Responsive tweaks --- */
@media (max-width: 991px) {
  .hero-section h1, .hero-section .display-3 { font-size: 2.2rem; }
  .features-section .card { margin-bottom: 1.3rem; }
  .custom-navbar .navbar-logo { height: 38px; }
}

@media (max-width: 600px) {
  .hero-section {
    min-height: 140px;      /* was 240px */
    margin-top: 0.5rem;     /* was 1rem */
    margin-bottom: 1.2rem;  /* was 2rem */
    padding-top: 0.1rem;    /* add if needed, or adjust as you like */
    padding-bottom: 1.1rem; /* for symmetry */
  }
  .container, .features-section .container {
    padding-top: 0.3rem;
    padding-bottom: 0.6rem;
  }
}










.property-hero-section,
.property-hero-slide {
  min-height: 500px;
  height: 500px;
}


.property-hero-overlay {
  content: '';
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100%;
  background: linear-gradient(115deg, rgba(0,106,180,0.52) 0%, rgba(84,0,180,0.32) 100%), 
              linear-gradient(180deg,rgba(22,22,22,0.05) 62%,rgba(22,22,32,0.74) 100%);
  z-index: 2;
  pointer-events: none;
}

.property-hero-caption {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}



@media (max-width: 991.98px) {
  .property-hero-carousel,
  .vip-section {
    min-height: 260px !important;
    margin-bottom: 1.5rem;
    padding: 1.3rem 1rem !important;
  }
}
@media (min-width: 992px) {
  .property-hero-carousel,
  .vip-section {
    min-height: 440px !important;
    padding: 2.5rem 2rem !important;
  }
}



/* --- Features Section --- */
.features-section .card,
.services-page .service-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 1.5rem;
}
.features-section .card:hover,
.services-page .service-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 8px 28px rgba(84,0,180,0.09);
  border: 1.5px solid var(--accent);
}
.features-section .card .fa,
.services-page .fa {
  color: var(--primary);
}
.features-section .font-weight-bold {
  color: var(--primary);
  font-weight: 700;
}
.card, .quick-search-white {
  background: rgba(255,255,255,0.85);
  border-radius: 1.3rem;
  box-shadow: 0 6px 36px rgba(0,0,0,0.10);
  border: 1.5px solid rgba(0,106,180,0.08);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 106, 180, 0.11);
}
.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}
.cta-banner .btn-primary {
  background: #fff !important;
  color: var(--primary) !important;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 2.4rem;
  font-size: 1.15rem;
  box-shadow: 0 2px 14px rgba(0, 106, 180, 0.11);
  transition: background 0.14s, color 0.14s;
}
.cta-banner .btn-primary:hover {
  background: var(--surface) !important;
  color: var(--accent) !important;
}

/* --- Buttons --- */
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 14px rgba(0, 106, 180, 0.08);
  padding: 0.7rem 2.2rem;
  transition: background 0.14s, box-shadow 0.14s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(84,0,180,0.10);
}
.btn-lg {
  font-size: 1.13rem;
  padding: 0.9rem 2.8rem;
}
.btn-outline-black1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45em;
  background: #fff !important;
  color: #232323 !important;
  border: 1.3px solid #232323 !important;
  border-radius: 1.1rem;
  font-weight: 700;
  padding: 0.7rem 2.2rem;
  font-size: 1.13rem;
  box-shadow: 0 2px 14px rgba(0,0,0,0.03);
  transition: color 0.16s, border-color 0.16s, background 0.14s, box-shadow 0.14s;
  text-align: center;
  width:25%;
}
.btn-outline-black1:hover,
.btn-outline-black1:focus {
  background: #232323 !important;
  color: #fff !important;
  border-color: #232323 !important;
  box-shadow: 0 6px 22px rgba(84,0,180,0.08);
  text-decoration: none;
}

#galleryModal{
	z-index:50000;
}

.btn-outline-black {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45em;
  background: #fff !important;
  color: #232323 !important;
  border: 1.3px solid #232323 !important;
  border-radius: 1.1rem;
  font-weight: 700;
  padding: 0.7rem 2.2rem;
  font-size: 1.13rem;
  box-shadow: 0 2px 14px rgba(0,0,0,0.03);
  transition: color 0.16s, border-color 0.16s, background 0.14s, box-shadow 0.14s;
  text-align: center;
  width:auto;
}
.btn-outline-black:hover,
.btn-outline-black:focus {
  background: #232323 !important;
  color: #fff !important;
  border-color: #232323 !important;
  box-shadow: 0 6px 22px rgba(84,0,180,0.08);
  text-decoration: none;
}

/* --- Footer --- */
.custom-footer {
  background: var(--surface);
  color: #888;
  font-size: 1.05rem;
  border-top: 1.5px solid #ececec;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
}
.footer-links a {
  color: #232323;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.18s;
  font-weight: 500;
  font-size: 1.03rem;
}
.footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;

}
.footer-social a {
  color: var(--primary);
  transition: color 0.18s;
  margin-right: 0.65rem;
  font-size: 1.3em;
}
.footer-social a:hover {
  color: var(--accent);
}
@media (max-width: 767px) {
  .footer-links, .footer-social { margin-bottom: 1.3rem; }
  .custom-footer .row > [class*="col-"] { margin-bottom: 1.7rem; }
}


/* --- Flash Messages --- */
.alert-success {
  background: #e8f5ff;
  color: var(--primary);
  border-color: var(--primary);
  border-radius: var(--radius);
}
.alert-danger {
  background: #ffe9f5;
  color: var(--accent);
  border-color: var(--accent);
  border-radius: var(--radius);
}
.alert {
  font-size: 1.03rem;
  font-weight: 500;
}

/* --- Forms --- */
.form-control,
textarea,
input[type="text"],
input[type="email"],
input[type="number"] {
  background: #f5f8fa;
  color: var(--text);
  border: 1.5px solid #d1e0ee;
  border-radius: var(--radius);
  font-size: 1.03rem;
  box-shadow: none;
  margin-bottom: 1rem;
  transition: border 0.2s;
}
.form-control:focus,
textarea:focus {
  border-color: var(--primary);
  background: #fff;
  outline: none;
}
label {
  color: var(--primary);
  font-weight: 500;
}
.quick-search-white .form-control,
.quick-search-white select.form-control,
.quick-search-white input.form-control {
  background: #fff !important;
  color: #232323 !important;
  border: 2px solid var(--color-bg-alt);
  font-weight: 500;
}
.quick-search-white .form-control:focus {
  border-color: var(--color-primary);
  background: #fff;
  color: #232323;
  outline: none;
}
.quick-search-white .form-label {
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.quick-search-link {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem 25px 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  box-shadow: none;
  outline: none;
  transition: color 0.17s;
}
.quick-search-link i {
  font-size: 1.15em;
  margin-right: 0.38em;
}
.quick-search-link:hover,
.quick-search-link:focus {
  color: #e0e0e0;
  text-decoration: none;
  outline: none;
}



.marbella-prop-card,
.estepona-prop-card,
.mijas-prop-card {
  border-radius: 0 !important;
}

.marbella-prop-card .card-price,
.estepona-prop-card .card-price,
.mijas-prop-card .card-price{
color:var (--text-primary);
}

.marbella-prop-card img,
.estepona-prop-card img,
.mijas-prop-card img {
  border-radius: 0 !important;
}
.marbella-prop-card:hover,
.estepona-prop-card:hover,
.mijas-prop-card:hover {
  color: var(--accent);
}

.prop-card {
  border-radius: 0 !important;
}
.prop-card img {
  border-radius: 0 !important;
}


@media (max-width: 600px) {
  .features-section .card { padding: 1.1rem 0.6rem; }
  .cta-banner h2 { font-size: 1.35rem; }
  .custom-navbar { padding: 0.7rem 0.6rem; }
  .features-section .container { padding: 1.1rem 0.3rem; }
  #questionnaire-modal .modal-dialog {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    min-width: 0;
    max-width: 99vw;
    font-size: 1.02rem;
  }
  #questionnaire-modal h4 {
    font-size: 1.19rem;
    margin-bottom: 1.1rem;
  }
}

/* --- Utility --- */
.text-center { text-align: center !important; }
.mt-4 { margin-top: 2rem !important; }
.my-5 { margin-top: 3.5rem !important; margin-bottom: 3.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* --- Logo text and gradients --- */
.logo-text {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  font-size: 2rem;
  color: #232323;
}
.logo-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.logo-mar { color: var(--text); display: inline-block; font-weight: 400; }
.logo-mar-white { color: #fff; display: inline-block; font-weight: 400 !important; }


.logo-mar-color { color: var(--text); font-weight: 400; }


@media (max-width: 600px) {
  .mobile-contact-btn {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    background: linear-gradient(90deg, #006ab4, #5400b4);
    color: #fff;
    border: none;
    border-radius: 1.1rem 1.1rem 0 0;
    box-shadow: 0 -2px 12px rgba(84,0,180,0.08);
    font-size: 1.2rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.1rem 0;
    transition: background 0.14s;
  }
  .mobile-contact-btn i {
    font-size: 1.15em;
    margin-right: 0.5em;
  }
  /* Improve the card appearance for mobile */
  #flash-contact-card {
    max-width: 95vw !important;
    width: 98vw !important;
    left: 50%;
    transform: translateX(-50%);
    bottom: 75px !important; /* so it won't overlap with button */
    top: auto !important;
	bottom:0 !important;
  }
}

/* --- Questionnaire Modal --- */
#questionnaire-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  background: rgba(22,22,26,0.80);
  transition: opacity 0.2s;
}
#questionnaire-modal .modal-backdrop {
  display: none;
}
#questionnaire-modal .modal-dialog {
  background: #fff;
  border-radius: var(--radius);
  max-width: 95vw;
  width: 100%;
  box-shadow: var(--shadow);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 280px;
  max-height: 92vh;
  overflow-y: auto;
}
#questionnaire-modal h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}
#questionnaire-modal form input,
#questionnaire-modal form textarea {
  width: 100%;
  margin-bottom: 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1.3px solid #d1e0ee;
  background: #f6f8fa;
  font-size: 1.08rem;
}
#questionnaire-modal form input:focus,
#questionnaire-modal form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.q-choice-btn {
  width: 100%;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.12rem;
  padding: 1rem;
  box-shadow: 0 2px 12px rgba(0,106,180,0.07);
  cursor: pointer;
  transition: background 0.14s;
}
.q-choice-btn:last-child { margin-bottom: 0; }
.q-choice-btn:hover, .q-choice-btn:focus { background: linear-gradient(90deg, var(--accent), var(--primary)); }
#questionnaire-modal #q-close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.1rem;
  font-weight: 700;
  opacity: 0.72;
  cursor: pointer;
  z-index: 3;
  transition: color 0.13s;
}
#questionnaire-modal #q-close:hover { color: var(--accent); opacity: 1; }
#q-success {
  text-align: center;
  padding: 2.5rem 1.2rem 2rem 1.2rem;
}
#q-submit {
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  font-size: 1.13rem;
  padding: 1rem;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  box-shadow: 0 2px 12px rgba(0,106,180,0.07);
  cursor: pointer;
  transition: background 0.15s;
}
#q-submit:hover { background: linear-gradient(90deg, var(--accent), var(--primary)); }

/* --- Utility --- */
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }

.contact-hero .form-label,
.contact-hero label {
  color: #fff !important;
}

.contact-flash-card {
  position: fixed;
  bottom: 32px;
  right: 32px;
  max-width: 350px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 8px 32px rgba(84,0,180,0.16), 0 2px 10px rgba(0,0,0,0.10);
  border-radius: var(--radius);
  z-index: 9999;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.35s;
  transform: translateY(40px) scale(0.97);
}

.contact-flash-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.contact-flash-card .close-btn {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.2s;
}
.contact-flash-card .close-btn:hover {
  color: var(--accent);
}

.contact-flash-card h5 {
  color: var(--text);
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.contact-flash-card .contact-options {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-flash-card .contact-link {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.09rem;
  color: var(--text);
  padding: 0.4rem 0.2rem;
  border-radius: 0.6rem;
  text-decoration: none;
  transition: background 0.16s, color 0.16s;
}
.contact-flash-card .contact-link i {
  margin-right: 0.7em;
  font-size: 1.2em;
}

/* COLLAPSED STATE — Show only collapsed-bar, hide all else */
.contact-flash-card.collapsed {
  padding: 0 !important;
  min-width: 140px;
  max-width: 210px !important;
  height: 48px !important;
  bottom: 32px !important;
  right: 32px !important;
  left: auto !important;
  background: #fff !important;
  color: var(--primary) !important;
  border-radius: 1.2rem;
  box-shadow: 0 3px 18px rgba(0,106,180,0.10);
  opacity: 0.97;
  pointer-events: auto !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.5em !important;
  overflow: hidden;
  transition: all 0.38s cubic-bezier(.42,0,.16,1.04);
}

/* Hide collapse-btn and card-content in collapsed state */
.contact-flash-card.collapsed .collapse-btn,
.contact-flash-card.collapsed .card-content,
.contact-flash-card.collapsed .close-btn {
  display: none !important;
}

/* Show collapsed-bar only when collapsed */
.contact-flash-card .collapsed-bar { 
  display: none; 
}
.contact-flash-card.collapsed .collapsed-bar { 
  display: flex !important;
  align-items: center;
  gap: 0.55em;
  width: 100%;
  height: 48px;
  padding-left: 1.1em;
  font-weight: 700;
  font-size: 1.09rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hide collapsed-bar in expanded (default) state */
.contact-flash-card:not(.collapsed) .collapsed-bar { 
  display: none !important; 
}

/* Hide collapse-btn in collapsed state, show in expanded */
.contact-flash-card .collapse-btn { 
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.22em;
  cursor: pointer;
  padding: 0.22em 0.7em 0.22em 0.2em;
  transition: color 0.15s;
  opacity: 0.7;
  outline: none;
}
.contact-flash-card .collapse-btn:hover {
  color: var(--accent);
  opacity: 1;
}
.contact-flash-card.collapsed .collapse-btn {
  display: none !important;
}

/* Expand button (chevron up) styles for collapsed-bar */
.contact-flash-card .expand-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.22em;
  cursor: pointer;
  padding: 0.22em 0.7em 0.22em 0.2em;
  transition: color 0.15s;
  opacity: 0.7;
  outline: none;
  margin-left: auto;
}
.contact-flash-card .expand-btn:hover {
  color: var(--accent);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width:600px) {
  .contact-flash-card, .contact-flash-card.collapsed {
    left: 50% !important;
    right: 50% !important;
    transform: translateX(-50%);
    bottom: 80px !important;
    max-width: 98vw !important;
    min-width: 60vw !important;
  }
}


/* --- Modern Dropdown Style --- */
.dropdown-menu {
  background: rgba(255,255,255,0.89);  /* soft white, semi-transparent */
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  border-radius: 1.1rem;
  box-shadow: 0 8px 32px rgba(84,0,180,0.08), 0 2px 8px rgba(0,0,0,0.08);
  border: 1.5px solid rgba(0,106,180,0.07);   /* subtle border */
  min-width: 220px;
  padding: 0.7rem 0.1rem;
  transition: all 0.18s cubic-bezier(.42,0,.16,1.04);
}

.dropdown-menu .dropdown-item {
  color: var(--text);
  padding: 0.62rem 1.2rem;
  font-size: 1.07rem;
  border-radius: 0.9rem;
  transition: 
    background 0.16s cubic-bezier(.42,0,.16,1.04),
    border 0.16s cubic-bezier(.42,0,.16,1.04),
    color 0.13s;
  border: 2.2px solid transparent;    /* for button effect on active */
  background: transparent;
  font-weight: 500;
  text-decoration: none !important;   /* no underline ever */
  box-shadow: none;
  outline: none;
}

/* HOVER & ACTIVE: Black border, soft highlight, button effect */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
  background: rgba(35,35,35,0.07);       /* subtle darker background */
  border: 2.2px solid #232323;           /* animated black border */
  color: var(--text);                    /* stays your text color */
  text-decoration: none !important;      /* no underline */
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  outline: none;
}

/* Remove underline on links inside dropdown (older browsers) */
.dropdown-menu .dropdown-item a,
.dropdown-menu .dropdown-item:visited,
.dropdown-menu .dropdown-item:active {
  text-decoration: none !important;
}

/* Optional: make selected/active item feel "pressed" */
.dropdown-menu .dropdown-item:active {
  background: rgba(35,35,35,0.13);
}

@media (max-width: 600px) {
  .show-on-scroll {
    display: inline-flex !important;
  }
}


@media (max-width: 600px) {
  .modal-hero {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    z-index: 9999;
    background: rgba(22,22,26,0.90);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem 0.2rem;
  }
  .modal-hero .container {
    width: 100%;
    max-width: 98vw;
    min-width: 0;
  }
  .modal-hero .card {
    max-height: 94vh;
    overflow-y: auto;
    min-height: 0;
    width: 100%;
  }

.vip-concierge-section {
  background: linear-gradient(115deg, #006ab4 0%, #5400b4 100%);
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 490px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  overflow: hidden;
}
.vip-concierge-section:before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22,22,26,0.47);
  z-index: 1;
}
.vip-concierge-section .container {
  position: relative;
  z-index: 2;
}
.vip-glass-card {
  background: rgba(255,255,255,0.18);
  border-radius: 1.3rem;
  box-shadow: 0 8px 32px 0 rgba(84,0,180,0.10);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  padding: 2.1rem 1rem 2.1rem 1rem;
  margin-bottom: 0.2rem;
  transition: transform 0.18s, box-shadow 0.19s;
  min-height: 265px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vip-glass-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 18px 42px 0 rgba(84,0,180,0.17);
}
.vip-icon {
  background: linear-gradient(135deg, #006ab4 78%, #5400b4 100%);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 18px 0 rgba(0,106,180,0.17);
  width: 64px;
  height: 64px;
  font-size: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  margin-top: -0.7rem;
}
.vip-title {
  font-size: 1.13rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.vip-accent {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  margin: 0 auto 1.1rem auto;
  background: linear-gradient(90deg, #006ab4 60%, #5400b4 100%);
  opacity: 0.6;
  transition: width 0.17s;
}
.vip-glass-card:hover .vip-accent {
  width: 44px;
  opacity: 1;
}
.vip-glass-card p {
  color: #232323;
  font-size: 1.04rem;
  opacity: 0.95;
  margin-bottom: 0;
  margin-top: 0.5rem;
}
.vip-btn-gradient {
  background: linear-gradient(90deg,#fff 60%,#ece5fa 100%) !important;
  color: #5400b4 !important;
  font-weight: 700;
  border-radius: 1.5rem;
  padding: 0.7rem 2.6rem;
  font-size: 1.15rem;
  box-shadow: 0 2px 14px rgba(0, 106, 180, 0.09);
  transition: background 0.14s, color 0.14s;
  border: none;
}
.vip-btn-gradient:hover {
  background: #5400b4 !important;
  color: #fff !important;
}

@media (max-width: 991px) {
  .vip-concierge-section { min-height: 300px; }
  .vip-glass-card { min-height: 200px; padding: 1.3rem 0.7rem 1.1rem 0.7rem;}
}
@media (max-width: 600px) {
  .vip-concierge-section { min-height: 0; padding-top: 1.3rem; padding-bottom: 1.2rem; }
  .vip-glass-card { min-height: 110px; }
}


/* Flash Messages */
/* --- Minimal White/Black Alert (Flash Message) --- */
#flask-flash-area .alert,
#flask-flash-area .alert-success,
#flask-flash-area .alert-danger,
#flask-flash-area .alert-info,
#flask-flash-area .alert-warning,
#flask-flash-area .alert-primary,
#flask-flash-area .alert-secondary,
#flask-flash-area .alert-light,
#flask-flash-area .alert-dark {
  background-color: #fff !important;
  color: #232323 !important;
  border: 1.5px solid #232323 !important;
  border-radius: 1.1rem !important;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06) !important;
}

/* Make sure you override Bootstrap's color for links in alerts too */
#flask-flash-area .alert a {
  color: #232323 !important;
  text-decoration: underline;
}

/* This will override any colored borders on the left (Bootstrap 5) */
#flask-flash-area .alert::before,
#flask-flash-area .alert-success::before,
#flask-flash-area .alert-danger::before {
  border-left-color: #232323 !important;
}

/* Button close */
#flask-flash-area .btn-close {
  filter: none !important;
  color: #232323 !important;
  opacity: 0.7 !important;
  background: none !important;
}
#flask-flash-area .btn-close:hover,
#flask-flash-area .btn-close:focus {
  opacity: 1 !important;
}




.property-carousel img {
  border-top-left-radius: 1.1rem;
  border-top-right-radius: 1.1rem;
  min-height: 190px;
  max-height: 260px;
  object-fit: cover;
}
/* hide the built-in left/right overlay controls */
.property-carousel .carousel-control-prev,
.property-carousel .carousel-control-next {
  display: none !important;
}

/* optional: tweak spacing under each carousel */
.property-carousel + .property-carousel-controls {
  margin-top: 0.5rem;
}




/* Flexible responsive pagination for mobile */
.pagination {
  flex-wrap: wrap;
  gap: 0.35rem;
  row-gap: 0.5rem;
  max-width: 100vw;
  overflow-x: auto;
}

.pagination .page-item {
  flex: 1 0 auto;
  min-width: 38px;
  text-align: center;
}

@media (max-width: 600px) {
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    font-size: 1rem;
  }
  .pagination .page-link {
    padding: 0.5rem 0.6rem;
    min-width: 36px;
    font-size: 1rem;
  }
}






.big-side-label {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #232323;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 0.8rem;
  margin-top: 0;
  padding-left: 0.2em;
  padding-right: 0.2em;
  /* Prevent label from shrinking too much on desktop */
  min-width: 120px;
  white-space: nowrap;
  text-align: left;
}

.marbella-prop-card,
.estepona-prop-card,
.mijas-prop-card {
  border-radius: 0 !important;
}

.marbella-prop-image,
.estepona-prop-image,
.mijas-prop-image {
  border-radius: 0 !important;
}


/* ===== Responsive Gallery Modal ===== */
/* ─── Gallery Modal Overrides ─── */
#galleryModal .modal-content {
  background-color: #f8f9fa;       /* light grey/white background */

}

#galleryModal .modal-body {
  background-color: #f8f9fa;       /* light grey/white background */
  z-index: 50;
}
#galleryModal .modal-open{
  background-color: #f8f9fa;       /* light grey/white background */

}
/* Use CSS Grid to stack the image above the controls */
#galleryModal .modal-body > div:first-child {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  align-items: center;
  justify-items: center;
}

/* Main image spans full width of grid’s first row */
#galleryModalImg {
  grid-column: 1 / -1;
  grid-row: 1;
  background: #fff;                /* white “frame” behind image */
  padding: 0.5rem;
  border-radius: 0.5rem;
  max-width: 85vw;
  max-height: 70vh;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Prev/Next buttons sit under image, at left and right */
#galleryPrevBtn {
  grid-column: 1;
  grid-row: 2;
}
#galleryNextBtn {
  grid-column: 3;
  grid-row: 2;
}

/* Style the arrow buttons as dark on light */
#galleryModal .btn-outline-light {
  border-color: #343a40 !important;
  color: #343a40 !important;
  background: none !important;
  font-size: 1.8rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#galleryModal .btn-outline-light:hover {
  background-color: #343a40 !important;
  color: #fff !important;
}

/* Re‐style the close button */
#galleryModal .btn[data-bs-dismiss="modal"] {
  top: 1rem;
  right: 1rem;
  position: absolute;
  background: none !important;
  border: none !important;
  color: #343a40 !important;
  font-size: 2rem;
  opacity: 0.7;
}
#galleryModal .btn[data-bs-dismiss="modal"]:hover {
  opacity: 1;
}

/* Thumbnails/nav stay below the controls */
#galleryModalNav {
  margin-top: 1rem;
  display: flex !important;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}


