/* Monest-inspired landing — complements Property template Bootstrap */

:root {
  /* Acento: azul claro (sustituye el acento anterior tipo verde/naranja del diseño) */
  --landing-accent: #5eb3f0;
  --landing-accent-hover: #3d9ae0;
  --landing-dark: #0b1220;
  --landing-dark-soft: #111827;
  --landing-muted: rgba(255, 255, 255, 0.65);
}

/* Nav bar: glass strip instead of default teal block */
.landing-page .menu-bg-wrap {
  background-color: rgba(0, 0, 0, 0.28) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.landing-page .site-nav {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.landing-page .site-nav.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(11, 18, 32, 0.96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.landing-page .site-nav.scrolled .menu-bg-wrap {
  background-color: transparent !important;
  border-color: transparent;
  padding-top: 12px;
  padding-bottom: 12px;
}

.landing-page .site-nav .logo {
  color: var(--landing-accent) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.landing-page .site-nav .logo:hover {
  color: var(--landing-accent-hover) !important;
}

.landing-page .site-nav .site-menu > li > a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.landing-page .site-nav .site-menu > li > a:hover,
.landing-page .site-nav .site-menu > li.active > a {
  color: #fff;
}

.landing-page .site-nav .site-menu > li.active > a {
  font-weight: 600;
}

/* Anchor jumps clear fixed nav */
.landing-page #inicio,
.landing-page [id="sobre-nosotros"],
.landing-page [id="servicios"],
.landing-page [id="propiedades"],
.landing-page [id="valoracion"],
.landing-page [id="faq"],
.landing-page [id="equipo"],
.landing-page [id="contacto"] {
  scroll-margin-top: 5.5rem;
}

/* Hero (template .hero + slides) */
.landing-page .hero .hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}

.landing-page .hero .heading.hero-title-landing {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.landing-page .hero .lead.hero-lead-landing {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--landing-muted);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.landing-page .btn-landing-primary {
  background: var(--landing-accent);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.2s;
}

.landing-page .btn-landing-primary:hover {
  background: var(--landing-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.landing-page .learn-more:before {
  background-color: var(--landing-accent);
}

.landing-page .learn-more:hover:before {
  background-color: var(--landing-accent-hover);
}

.landing-page .btn-landing-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.landing-page .btn-landing-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.landing-page .hero-contact-btn {
  border: 2px solid #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.landing-page .section-cta-band {
  background: linear-gradient(135deg, #00204a 0%, #0f172a 100%);
  padding: 4rem 0;
}

.landing-page .faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(94, 179, 240, 0.15);
  color: var(--bs-primary);
}

.landing-page .faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 32, 74, 0.15);
}

.landing-stats {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0;
  margin-top: -1px;
}

.landing-stats .stat-item {
  text-align: center;
  padding: 0.5rem;
}

.landing-stats .stat-value {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--landing-accent);
  line-height: 1.1;
}

.landing-stats .stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.35rem;
}

.section-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--landing-accent);
  margin-bottom: 0.75rem;
}

.landing-section {
  padding: 5rem 0;
}

.landing-section.bg-soft {
  background: #f4f6f8;
}

.landing-section h2.heading-main {
  font-weight: 700;
  color: var(--bs-primary);
  letter-spacing: -0.02em;
}

.landing-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 24px rgba(0, 32, 74, 0.06);
  border: 1px solid rgba(0, 32, 74, 0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(0, 32, 74, 0.1);
  transform: translateY(-4px);
}

.service-card .service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(94, 179, 240, 0.22), rgba(0, 32, 74, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--bs-primary);
}

.service-card .service-icon [class^="icon-"] {
  line-height: 1;
}

.service-card .service-icon-svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bs-primary);
  margin-bottom: 1rem;
}

.service-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: #555;
}

.service-card ul li {
  margin-bottom: 0.45rem;
}

.why-list li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
  list-style: none;
}

.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--landing-accent);
  font-weight: 700;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-chips .chip {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  font-size: 0.875rem;
  color: #495057;
}

.property-preview-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.property-preview-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-preview-card .body {
  padding: 1.25rem;
}

.valuation-box,
.contact-form-box {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0, 32, 74, 0.08);
  border: 1px solid rgba(0, 32, 74, 0.06);
}

.contact-info-block {
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.contact-info-block:last-child {
  border-bottom: none;
}

.contact-info-block strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.landing-page .site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.65);
  padding-top: 4rem;
}

.landing-page .site-footer .widget h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.landing-page .site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.landing-page .site-footer a:hover {
  color: var(--landing-accent);
}

@media (max-width: 991px) {
  .landing-page .hero .d-flex.gap-2 {
    flex-direction: column;
  }

  .landing-page .hero .btn-landing-primary,
  .landing-page .hero .btn-landing-outline {
    width: 100%;
  }
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
  /* The base template forces a very tall hero (100vh + min-height).
     On tablets/smaller screens it can push the rest of the page too far down. */
  .landing-page .hero,
  .landing-page .hero > .container > .row {
    height: auto !important;
    min-height: 0 !important;
  }

  /* Constrain the absolute hero slider so it doesn't overlap following sections. */
  .landing-page .hero {
    overflow: hidden;
  }

  .landing-page .hero-slide {
    bottom: 0;
  }

  .landing-page .hero-slide .img {
    height: 100% !important;
    min-height: 0 !important;
  }
}

@media (max-width: 767.98px) {
  /* Prevent the absolute nav from overlapping hero content. */
  .landing-page .hero > .container {
    padding-top: 7rem;
    padding-bottom: 2.5rem;
  }

  .landing-page .hero .heading.hero-title-landing {
    max-width: 100%;
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .landing-page .hero .lead.hero-lead-landing {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  /* Stack the search form on mobile. */
  .landing-page .hero .form-search {
    flex-direction: column !important;
    align-items: stretch;
    gap: 0.75rem;
  }

  .landing-page .hero .form-search .form-control {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .landing-page .hero .form-search .btn {
    width: 100% !important;
  }

  /* Reduce vertical spacing and oversized paddings. */
  .landing-section {
    padding: 3rem 0;
  }

  .landing-stats {
    padding: 2.25rem 0;
  }

  .property-preview-card img {
    height: 180px;
  }

  .service-card {
    padding: 1.5rem;
  }

  .valuation-box,
  .contact-form-box {
    padding: 1.5rem;
  }

  .landing-page .site-footer {
    padding-top: 3rem;
  }
}
