/* ==========================================================================
   Montara — Reset & Variables
   ========================================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==========================================================================
   Página de desarrollos — slider base + formulario de interés
   ========================================================================== */

.developments-page {
  --developments-bg: #07130d;
  --developments-panel: rgba(0, 0, 0, 0.76);
  min-height: 100vh;
  padding-top: 112px;
  overflow: hidden;
  color: var(--bg-cream);
  background:
    radial-gradient(circle at 78% 8%, rgba(31, 54, 37, 0.72), transparent 38rem),
    radial-gradient(circle at 8% 48%, rgba(164, 133, 84, 0.08), transparent 30rem),
    var(--developments-bg);
}

.developments-showcase,
.developments-interest {
  position: relative;
  isolation: isolate;
}

.developments-showcase {
  min-height: min(820px, calc(100vh - 64px));
  padding: clamp(3rem, 6vw, 6.5rem) 0 clamp(5rem, 8vw, 8rem);
}

.developments-showcase::before,
.developments-interest::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.developments-showcase::before {
  background:
    linear-gradient(180deg, rgba(5, 17, 11, 0.84), rgba(5, 17, 11, 0.56) 48%, rgba(5, 17, 11, 0.95)),
    url('../images/hero-still.jpg') center 38% / cover no-repeat;
  filter: saturate(0.78) contrast(1.08);
}

.developments-showcase::after,
.developments-interest::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  pointer-events: none;
  background:
    repeating-radial-gradient(ellipse at 15% 70%, transparent 0 64px, rgba(164, 133, 84, 0.22) 66px 67px, transparent 69px 112px);
}

.developments-heading {
  width: min(1380px, calc(100% - 9vw));
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.developments-kicker {
  margin-bottom: 0.8rem;
  color: var(--montara-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.developments-heading h1,
.developments-interest-copy h2 {
  max-width: 13ch;
  color: var(--bg-cream);
  font-size: clamp(2.6rem, 5.7vw, 5.5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.developments-heading-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(164, 133, 84, 0.72);
  color: rgba(243, 236, 226, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: color 220ms ease, border-color 220ms ease;
}

.developments-heading-link:hover,
.developments-heading-link:focus-visible {
  color: var(--montara-gold);
  border-color: var(--montara-gold);
}

.developments-slider {
  width: min(1660px, 112vw);
  margin-left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 72px minmax(120px, 0.26fr) minmax(620px, 1.2fr) minmax(120px, 0.26fr) 72px;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.developments-slide,
.developments-peek {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--developments-panel);
  -webkit-backdrop-filter: blur(22px) saturate(115%);
  backdrop-filter: blur(22px) saturate(115%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.developments-slide {
  min-height: 430px;
  padding: clamp(2.5rem, 5vw, 5.5rem);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.developments-slide-mark {
  position: relative;
  width: 58px;
  height: 32px;
  margin-bottom: 1.8rem;
}

.developments-slide-mark span {
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 34px;
  height: 34px;
  border-left: 2px solid var(--montara-gold);
  border-top: 2px solid var(--montara-gold);
  transform: translateX(-65%) rotate(45deg);
}

.developments-slide-mark span:last-child {
  transform: translateX(-18%) rotate(45deg) scale(0.72);
  opacity: 0.72;
}

.developments-slide-eyebrow {
  margin-bottom: 0.8rem;
  color: var(--montara-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.developments-slide h2 {
  max-width: 18ch;
  color: var(--bg-cream);
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.developments-slide > p:not(.developments-slide-eyebrow) {
  max-width: 640px;
  margin: 1.45rem auto 0;
  color: rgba(243, 236, 226, 0.7);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.developments-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 0.75rem 0.15rem 0.55rem;
  border-bottom: 1px solid rgba(164, 133, 84, 0.75);
  color: var(--montara-gold);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap 220ms ease, color 220ms ease;
}

.developments-slide-link:hover,
.developments-slide-link:focus-visible {
  gap: 1.25rem;
  color: var(--bg-cream);
}

.developments-peek {
  height: 330px;
  border-radius: 24px;
  opacity: 0.52;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.84)),
    url('../images/hero-still.jpg') center / cover no-repeat;
}

.developments-peek--left {
  transform: translateY(24px);
}

.developments-peek--right {
  transform: translateY(-18px);
}

.developments-arrow {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(164, 133, 84, 0.52);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--montara-gold);
  background: rgba(0, 0, 0, 0.62);
  font-size: 1.2rem;
}

.developments-arrow:disabled {
  cursor: default;
  opacity: 0.58;
}

.developments-interest {
  width: min(1380px, calc(100% - 9vw));
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 10rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: clamp(4rem, 8vw, 9rem);
}

.developments-interest::before {
  inset: 8% -18vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 54, 37, 0.46), transparent 66%);
}

.developments-interest-copy > p:last-child {
  max-width: 560px;
  margin-top: 2rem;
  color: rgba(243, 236, 226, 0.66);
  font-size: 1rem;
  line-height: 1.8;
}

.developments-form {
  padding: clamp(1.5rem, 3.2vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(164, 133, 84, 0.7);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.68);
  -webkit-backdrop-filter: blur(24px) saturate(115%);
  backdrop-filter: blur(24px) saturate(115%);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.developments-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.developments-form label {
  display: block;
  margin-bottom: 1rem;
}

.developments-form label > span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--montara-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.developments-form input,
.developments-form select,
.developments-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  outline: none;
  color: var(--bg-cream);
  background: rgba(8, 12, 9, 0.78);
  font: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.developments-form input,
.developments-form select {
  min-height: 52px;
  padding: 0 1rem;
}

.developments-form textarea {
  min-height: 120px;
  resize: vertical;
  padding: 0.9rem 1rem;
}

.developments-form input::placeholder,
.developments-form textarea::placeholder {
  color: rgba(243, 236, 226, 0.38);
}

.developments-form input:focus,
.developments-form select:focus,
.developments-form textarea:focus {
  border-color: var(--montara-gold);
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 0 0 3px rgba(164, 133, 84, 0.15);
}

.developments-form-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  color: var(--bg-cream);
  background: var(--montara-green);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 200ms ease;
}

.developments-form-submit:hover,
.developments-form-submit:focus-visible {
  background: #294b33;
  transform: translateY(-2px);
}

.developments-form-submit:active {
  transform: translateY(0) scale(0.99);
}

.developments-form-note {
  margin-top: 0.8rem;
  color: rgba(243, 236, 226, 0.46);
  font-size: 0.75rem;
  text-align: center;
}

@media (max-width: 980px) {
  .developments-slider {
    width: min(920px, 108vw);
    grid-template-columns: 54px minmax(0, 1fr) 54px;
  }

  .developments-peek {
    display: none;
  }

  .developments-interest {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .developments-interest-copy h2 {
    max-width: 14ch;
  }
}

@media (max-width: 640px) {
  .developments-page {
    padding-top: 88px;
  }

  .developments-showcase {
    min-height: auto;
    padding-top: 3.2rem;
  }

  .developments-heading {
    width: min(100% - 2rem, 1380px);
    align-items: start;
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .developments-heading h1,
  .developments-interest-copy h2 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .developments-slider {
    width: calc(100% - 1rem);
    grid-template-columns: 1fr;
  }

  .developments-arrow {
    display: none;
  }

  .developments-slide {
    min-height: 420px;
    padding: 2.2rem 1.25rem;
    border-radius: 20px;
  }

  .developments-interest {
    width: min(100% - 2rem, 1380px);
    padding: 5rem 0;
  }

  .developments-form {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .developments-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

:root {
  --montara-terracotta: #B5563A;
  --montara-terracotta-dark: #96452F;
  --montara-green: #1F3625;
  --montara-gold: #A48554;
  --montara-stone: #8C8175;
  --montara-stone-light: #D8CFC2;
  --bg-cream: #F3ECE2;
  --charcoal: #2A241F;
  --espresso: #1A1512;

  --font-body: 'Inter', sans-serif;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ==========================================================================
   Fondo Hero — video + overlay
   ========================================================================== */

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background-color: var(--espresso);
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: grayscale(0) contrast(1) brightness(1);
  transition: opacity 1.4s ease, filter 1.5s ease;
}

/* Estado posterior a la intro: foto fija del Valle Sagrado, enfocada hacia la montaña */
.hero-bg-still {
  position: absolute;
  inset: 0;
  background-color: var(--espresso);
  background-image: url("../images/hero-still.jpg");
  background-size: cover;
  background-position: center top;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.4s ease;
}

/* Wordmark cinético: aparece durante la transición */
.kinetic-wordmark {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.kinetic-wordmark span {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bg-cream);
}

/* Destello de sombra que cubre la pantalla en el instante de la transición */
.hero-shadow-sweep {
  position: absolute;
  inset: 0;
  background-color: var(--espresso);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 21, 18, 0.35);
}

/* Secuencia de transición, controlada por app.js */

/* 1. El video se desatura mientras sigue totalmente visible (efecto blanco y negro, sin ocultarse todavía) */
.hero-bg--desaturate .bg-video {
  filter: grayscale(1) contrast(1.15) brightness(0.8);
}

/* 2. Una sombra cubre la pantalla */
.hero-bg--shadow .hero-shadow-sweep {
  opacity: 0.75;
  transition: opacity 0.5s ease;
}

/* 3. Por debajo de la sombra: el video (ya en blanco y negro) se desvanece hacia el piso de puntos */
.hero-bg--transitioned .bg-video {
  opacity: 0;
}

.hero-bg--transitioned .hero-bg-still {
  opacity: 1;
}

.hero-bg--transitioned .kinetic-wordmark {
  opacity: 1;
}

/* 4. La sombra se retira, revelando el piso de puntos; el wordmark se desvanece */
.hero-bg--settled .hero-shadow-sweep {
  opacity: 0;
}

.hero-bg--settled .kinetic-wordmark {
  opacity: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;

  width: 90%;
  max-width: 960px;
  padding: 12px 32px;
  border-radius: 24px;

  background: rgba(8, 8, 8, 0.65);
  backdrop-filter: blur(24px) saturate(110%);
  -webkit-backdrop-filter: blur(24px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);

  opacity: 0;
  transform: translate(-50%, -12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.site-header--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  filter: invert(1) hue-rotate(180deg) brightness(1.15);
}

.site-logo-fallback {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bg-cream);
  letter-spacing: 0.06em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(243, 236, 226, 0.85);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--montara-gold);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.lang-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 999px;
  color: rgba(243, 236, 226, 0.55);
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--bg-cream);
  background-color: var(--montara-gold);
}

.lang-divider {
  color: rgba(243, 236, 226, 0.3);
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(243, 236, 226, 0.8);
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.login-btn:hover {
  color: var(--bg-cream);
  background-color: var(--montara-gold);
  border-color: var(--montara-gold);
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hamburger-btn span {
  display: block;
  width: 14px;
  height: 1.5px;
  background-color: var(--bg-cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-btn:hover {
  background-color: var(--montara-gold);
  border-color: var(--montara-gold);
}

.hamburger-btn--open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.hamburger-btn--open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn--open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ==========================================================================
   Menú móvil (panel de vidrio)
   ========================================================================== */

.mobile-menu {
  position: fixed;
  top: 92px;
  left: 50%;
  transform: translate(-50%, -12px);
  z-index: 95;
  width: 90%;
  max-width: 340px;

  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 20px;

  background: rgba(20, 16, 14, 0.75);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);

  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu--open {
  display: flex;
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-menu-link {
  padding: 12px 14px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(243, 236, 226, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-menu-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--montara-gold);
}

.mobile-menu-langs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Contenido principal
   ========================================================================== */

.main-content {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 2rem 2rem;
}

/* ==========================================================================
   .montara-card — Glassmorphism
   ========================================================================== */

.montara-card {
  background-color: rgba(20, 16, 14, 0.5);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 3rem;
  max-width: 480px;
  text-align: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 860px;

  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Textos persuasivos */

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  max-width: 780px;
}

.hero-title-line {
  display: block;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.3;
  color: rgba(243, 236, 226, 0.85);
  text-shadow: 0 2px 16px rgba(26, 21, 18, 0.5);
}

.hero-title-city {
  display: block;
  font-size: clamp(3.75rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--montara-gold);
  text-shadow: 0 6px 30px rgba(26, 21, 18, 0.55);
  margin: 0.05em 0;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: rgba(243, 236, 226, 0.85);
  max-width: 540px;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(26, 21, 18, 0.45);
}

/* Buscador principal */

.montara-card.search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 820px;
  padding: 1.5rem;
  text-align: left;
}

.search-form .form-field {
  flex: 1 1 180px;
  min-width: 160px;
}

.search-form input[type="text"],
.search-form select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--bg-cream);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.search-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23A48554'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
  cursor: pointer;
}

.search-form select option {
  background-color: var(--espresso);
  color: var(--bg-cream);
}

.search-form input::placeholder {
  color: rgba(243, 236, 226, 0.5);
  font-weight: 400;
}

.search-form input:focus,
.search-form select:focus {
  border-color: rgba(164, 133, 84, 0.7);
  background-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px rgba(164, 133, 84, 0.2);
}

.btn-search {
  flex: 1 1 220px;
  height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--montara-green);
  border: none;
  border-radius: 6px;
  color: var(--bg-cream);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-search-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background-color: var(--montara-gold);
}

.btn-search:hover {
  background-color: #142519;
  box-shadow: 0 12px 28px rgba(31, 54, 37, 0.4);
  transform: translateY(-1px);
}

/* Captación de propietarios */

.hero-leads {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.leads-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(243, 236, 226, 0.75);
  text-shadow: 0 1px 10px rgba(26, 21, 18, 0.5);
}

.btn-ghost {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid rgba(243, 236, 226, 0.35);
  border-radius: 6px;
  color: rgba(243, 236, 226, 0.9);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.btn-ghost:hover {
  border-color: var(--montara-terracotta);
  color: var(--montara-terracotta);
  background-color: rgba(181, 86, 58, 0.1);
  transform: translateY(-1px);
}

/* ==========================================================================
   Proyectos
   ========================================================================== */

.projects {
  position: relative;
  z-index: 5;
  padding: 100px 2rem;
  background-color: var(--bg-cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cpath d='M0 25 Q25 5 50 25 T100 25' stroke='%23A48554' stroke-width='1.5' fill='none' opacity='0.22'/%3E%3C/svg%3E");
  background-size: 100px 50px;
}

.projects-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.projects-kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--montara-green);
  margin-bottom: 0.75rem;
}

.projects-title {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  text-align: left;
}

.projects-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(42, 36, 31, 0.6);
  padding: 2rem 0;
}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: rgba(20, 16, 14, 0.5);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 55px -12px rgba(26, 21, 18, 0.45), 0 10px 20px rgba(26, 21, 18, 0.2);

  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.7s ease, transform 0.7s ease;
}

.project-card--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-card:nth-child(1) { transition-delay: 0s; }
.project-card:nth-child(2) { transition-delay: 0.12s; }
.project-card:nth-child(3) { transition-delay: 0.24s; }

.project-card--visible:hover {
  border-color: rgba(181, 86, 58, 0.4);
  box-shadow: 0 40px 70px -12px rgba(26, 21, 18, 0.55), 0 14px 26px rgba(26, 21, 18, 0.28);
  transform: translateY(-8px) scale(1.015);
}

.project-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: rgba(31, 54, 37, 0.32);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-badge {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--bg-cream);
  border: 1px solid rgba(243, 236, 226, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
}

.project-card-body {
  padding: 20px;
  background-color: rgba(15, 12, 10, 0.82);
}

.project-card-body h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-cream);
  margin-bottom: 0.4rem;
}

.project-card-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(243, 236, 226, 0.65);
}

.project-card-price {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--montara-gold);
  margin-top: 6px;
}

.project-card--placeholder {
  border-style: dashed;
  border-color: rgba(164, 133, 84, 0.4);
}

.project-card-preview-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--montara-gold);
  background-color: rgba(164, 133, 84, 0.12);
  border: 1px solid rgba(164, 133, 84, 0.3);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.properties-page {
  padding-top: 160px;
}

.properties-search-form {
  margin: 0 auto 3rem;
}

.projects-view-all {
  display: block;
  width: fit-content;
  margin: 3rem auto 0;
  padding: 12px 28px;
  border: 1px solid rgba(42, 36, 31, 0.25);
  border-radius: 6px;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.projects-view-all:hover {
  border-color: var(--montara-terracotta);
  color: var(--montara-terracotta);
}

.proyectos-cta {
  position: relative;
  z-index: 5;
  padding: 90px 2rem;
  background-color: var(--espresso);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cpath d='M0 25 Q25 5 50 25 T100 25' stroke='%23A48554' stroke-width='1.5' fill='none' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 100px 50px;
  text-align: center;
}

.proyectos-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.proyectos-cta-kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--montara-gold);
  margin-bottom: 0.75rem;
}

.proyectos-cta-title {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--bg-cream);
  margin-bottom: 1rem;
}

.proyectos-cta-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(243, 236, 226, 0.75);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.proyectos-cta-highlight {
  color: #6FCB9F;
  font-weight: 500;
}

.proyectos-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-ghost--green {
  border-color: rgba(111, 203, 159, 0.4);
  color: #6FCB9F;
}

.btn-ghost--green:hover {
  border-color: #6FCB9F;
  color: #6FCB9F;
  background-color: rgba(111, 203, 159, 0.12);
}

@media (max-width: 640px) {
  .proyectos-cta {
    padding: 60px 1.25rem;
  }

  .proyectos-cta-actions {
    flex-direction: column;
  }

  .proyectos-cta-actions .btn-ghost {
    width: 100%;
  }
}

/* Página de Asesoría */

.advisory-title {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.advisory-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  color: rgba(42, 36, 31, 0.65);
  margin-bottom: 3rem;
}

.advisory-form-wrap {
  max-width: 620px;
  margin: 0 auto 3.5rem;
  text-align: left;
}

.advisory-form--featured {
  width: 100%;
  max-width: none;
  text-align: left;
  padding: 2.75rem;
  position: relative;
  background-color: rgba(15, 12, 10, 0.82);
  border-top: 3px solid var(--montara-gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(164, 133, 84, 0.15);
}

.advisory-form-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--montara-gold);
  margin-bottom: 0.5rem;
}

.advisory-form-title {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--bg-cream);
  margin-bottom: 1.75rem;
  line-height: 1.35;
}

.advisory-form .form-field {
  width: 100%;
  margin-bottom: 14px;
}

.advisory-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.advisory-form input,
.advisory-form select,
.advisory-form textarea {
  width: 100%;
  padding: 0 16px;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--bg-cream);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.advisory-form input,
.advisory-form select {
  height: 48px;
}

.advisory-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23A48554'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
  cursor: pointer;
}

.advisory-form select option {
  background-color: var(--espresso);
  color: var(--bg-cream);
}

.advisory-form textarea {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
}

.advisory-form input::placeholder,
.advisory-form textarea::placeholder {
  color: rgba(243, 236, 226, 0.5);
}

.advisory-form input:focus,
.advisory-form select:focus,
.advisory-form textarea:focus {
  border-color: rgba(164, 133, 84, 0.7);
  background-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px rgba(164, 133, 84, 0.2);
}

@media (max-width: 480px) {
  .advisory-field-row {
    grid-template-columns: 1fr;
  }
}

.advisory-submit {
  width: 100%;
  margin-top: 4px;
}

.advisory-submit--wa {
  background-color: #1F8A57;
}

.advisory-submit--wa:hover {
  background-color: #176B43;
  box-shadow: 0 12px 28px rgba(31, 138, 87, 0.35);
}

.advisory-wa-icon {
  flex-shrink: 0;
}

.advisory-form-note {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(243, 236, 226, 0.55);
  text-align: center;
}

.advisory-flash {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.advisory-flash--success {
  color: #6FCB9F;
  background-color: rgba(111, 203, 159, 0.12);
  border: 1px solid rgba(111, 203, 159, 0.3);
}

.advisory-flash--error {
  color: #E88C7D;
  background-color: rgba(232, 140, 125, 0.12);
  border: 1px solid rgba(232, 140, 125, 0.3);
}

.advisory-faq-wrap {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.advisory-faq-card {
  width: 100%;
  max-width: none;
  text-align: left;
  padding: 2.25rem 2.5rem;
  background-color: rgba(15, 12, 10, 0.82);
  border-top: 3px solid var(--montara-gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(164, 133, 84, 0.15);
}

.advisory-faq-card-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--montara-gold);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.advisory-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.advisory-faq-item:last-child {
  border-bottom: none;
}

.advisory-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  background: none;
  border: none;
  color: var(--bg-cream);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.advisory-faq-question:hover {
  color: var(--montara-gold);
}

.advisory-faq-icon {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--montara-gold);
  transition: transform 0.2s ease;
}

.advisory-faq-item--open .advisory-faq-icon {
  transform: rotate(45deg);
}

.advisory-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.advisory-faq-item--open .advisory-faq-answer {
  max-height: 320px;
}

.advisory-faq-answer p {
  margin: 0;
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(243, 236, 226, 0.75);
}

@media (max-width: 640px) {
  .advisory-form--featured,
  .advisory-faq-card {
    padding: 1.75rem;
  }
}

/* Libro de Reclamaciones */

.claim-page {
  padding-top: 168px;
  background-color: var(--bg-cream);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cpath d='M0 25 Q25 5 50 25 T100 25' stroke='%238C8175' stroke-width='1.4' fill='none' opacity='0.24'/%3E%3C/svg%3E"),
    radial-gradient(circle at 7% 6%, rgba(31, 54, 37, 0.1), transparent 28rem),
    radial-gradient(circle at 92% 38%, rgba(31, 54, 37, 0.09), transparent 32rem);
  background-size: 100px 50px, auto, auto;
  background-attachment: scroll, fixed, fixed;
}

.claim-page .projects-inner {
  max-width: 1180px;
}

.claim-hero {
  max-width: 820px;
  margin: 0 auto 2rem;
  text-align: center;
}

.claim-hero .projects-title {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.claim-intro {
  max-width: 620px;
  margin: 1.2rem auto 1.5rem;
  color: rgba(42, 36, 31, 0.7);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.claim-hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.claim-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.8rem;
  border: 1px solid rgba(31, 54, 37, 0.14);
  border-radius: 4px;
  color: var(--montara-green);
  background: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.claim-hero-meta span::before {
  content: none;
}

.claim-legal-note {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(42, 36, 31, 0.12);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(42, 36, 31, 0.58);
  text-align: center;
}

.claim-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.55fr);
  gap: 1.25rem;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
  text-align: left;
}

.claim-sidebar {
  position: sticky;
  top: 118px;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid rgba(243, 236, 226, 0.18);
  border-radius: 10px;
  color: var(--bg-cream);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 46%),
    rgba(10, 10, 10, 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  box-shadow:
    0 24px 60px rgba(31, 54, 37, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(10, 18, 12, 0.18);
}

.claim-sidebar::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -85px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(31, 54, 37, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(31, 54, 37, 0.16), 0 0 0 50px rgba(31, 54, 37, 0.08);
  pointer-events: none;
}

.claim-sidebar-kicker {
  margin-bottom: 0.45rem;
  color: var(--bg-cream);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.claim-sidebar h2 {
  max-width: 260px;
  margin-bottom: 1.7rem;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.claim-provider-list {
  position: relative;
  z-index: 1;
}

.claim-provider-list > div {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(243, 236, 226, 0.12);
}

.claim-provider-list dt {
  margin-bottom: 0.2rem;
  color: rgba(243, 236, 226, 0.55);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.claim-provider-list dd {
  color: rgba(243, 236, 226, 0.92);
  font-size: 0.83rem;
  line-height: 1.45;
}

.claim-sidebar-note {
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(31, 54, 37, 0.9);
}

.claim-sidebar-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--bg-cream);
  font-size: 0.78rem;
}

.claim-sidebar-note p {
  color: rgba(243, 236, 226, 0.65);
  font-size: 0.74rem;
  line-height: 1.6;
}

.claim-form {
  max-width: none;
  margin: 0 0 2rem;
  width: 100%;
  text-align: left;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.claim-page .advisory-form.claim-form {
  border: 1px solid rgba(243, 236, 226, 0.2);
  border-top: 2px solid var(--montara-green);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), transparent 32%),
    rgba(10, 10, 10, 0.54);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  backdrop-filter: blur(20px) saturate(125%);
  box-shadow:
    0 30px 70px rgba(42, 30, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
}

.claim-section-title {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bg-cream);
  margin: 2.4rem 0 1.1rem;
  padding: 0 0 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(243, 236, 226, 0.12);
}

.claim-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.12rem;
  bottom: 0.85rem;
  width: 3px;
  border-radius: 3px;
  background: var(--montara-green);
}

.claim-form > .claim-section-title:first-child {
  margin-top: 0;
}

.claim-page .advisory-form .form-field {
  margin-bottom: 1rem;
}

.claim-page .advisory-form .form-field label {
  display: inline-block;
  margin-bottom: 0.42rem;
  color: rgba(243, 236, 226, 0.78);
  font-size: 0.73rem;
  font-weight: 600;
}

.claim-page .advisory-form input,
.claim-page .advisory-form select,
.claim-page .advisory-form textarea {
  border: 1px solid rgba(243, 236, 226, 0.18);
  border-radius: 5px;
  color: var(--bg-cream);
  background-color: rgba(255, 255, 255, 0.075);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.claim-page .advisory-form input::placeholder,
.claim-page .advisory-form textarea::placeholder {
  color: rgba(243, 236, 226, 0.43);
}

.claim-page .advisory-form select option {
  color: var(--charcoal);
  background: var(--bg-cream);
}

.claim-page .advisory-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231F3625'/%3E%3C/svg%3E");
}

.claim-page .advisory-form input:focus,
.claim-page .advisory-form select:focus,
.claim-page .advisory-form textarea:focus {
  border-color: var(--montara-green);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 3px rgba(31, 54, 37, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.claim-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.claim-radio-group--inline {
  grid-template-columns: repeat(2, minmax(130px, 190px));
}

.claim-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(243, 236, 226, 0.16);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(243, 236, 226, 0.72);
  cursor: pointer;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.065);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.claim-radio:hover {
  border-color: rgba(31, 54, 37, 0.95);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-1px);
}

.claim-radio strong {
  color: var(--bg-cream);
}

.claim-page .advisory-form .claim-radio input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  padding: 0;
  margin-top: 1px;
  border: 0;
  box-shadow: none;
  accent-color: var(--montara-green);
}

.claim-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid rgba(31, 54, 37, 0.72);
  color: rgba(243, 236, 226, 0.76);
  background: rgba(31, 54, 37, 0.22);
  cursor: pointer;
  line-height: 1.5;
  margin: 1.5rem 0;
}

.claim-page .advisory-form .claim-checkbox input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  padding: 0;
  margin-top: 3px;
  border: 0;
  box-shadow: none;
  accent-color: var(--montara-green);
}

.claim-submit {
  width: 100%;
  min-height: 54px;
  background: var(--montara-green);
  box-shadow: 0 14px 30px rgba(31, 54, 37, 0.18);
}

.claim-submit:hover {
  background: #142519;
  transform: translateY(-2px);
}

.claim-submit:active {
  transform: translateY(0) scale(0.99);
}

.claim-success {
  text-align: center;
  padding: 3rem 2.25rem;
}

.claim-success .advisory-flash {
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .claim-page {
    padding-top: 116px;
  }

  .claim-hero {
    margin-bottom: 1.6rem;
  }

  .claim-hero .projects-title {
    font-size: clamp(2.15rem, 12vw, 3.15rem);
  }

  .claim-hero-meta {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 260px;
    margin-inline: auto;
  }

  .claim-hero-meta span {
    justify-content: flex-start;
  }

  .claim-legal-note {
    margin-bottom: 1.75rem;
    text-align: left;
  }

  .claim-layout {
    grid-template-columns: 1fr;
  }

  .claim-sidebar {
    position: relative;
    top: auto;
    padding: 1.5rem;
  }

  .claim-provider-mark {
    margin-bottom: 1.2rem;
  }

  .claim-provider-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }

  .claim-provider-list > div:first-child {
    grid-column: 1 / -1;
  }

  .claim-form {
    padding: 1.5rem;
  }

  .claim-radio-group,
  .claim-radio-group--inline {
    grid-template-columns: 1fr;
  }
}

/* Detalle de propiedad */

.property-detail-page .projects-inner {
  max-width: 1200px;
  text-align: left;
}

.property-detail-preview-note {
  max-width: none;
  margin-bottom: 1.5rem;
}

.property-detail-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.property-gallery {
  max-width: none;
  width: 100%;
  height: clamp(430px, 45vw, 590px);
  padding: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.72fr);
  gap: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  backdrop-filter: blur(18px) saturate(115%);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(31, 54, 37, 0.2);
}

.property-gallery-main {
  min-width: 0;
  min-height: 0;
  border-radius: 11px;
  background-color: rgba(31, 54, 37, 0.32);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-gallery-thumbs {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  background: transparent;
}

.property-gallery-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.property-gallery-thumb:hover {
  border-color: rgba(31, 54, 37, 0.95);
  filter: brightness(1.06);
  transform: scale(0.985);
}

.property-gallery-thumb--active {
  border-color: rgba(255, 255, 255, 0.1);
}

.property-gallery-thumb:first-child {
  display: none;
}

.property-gallery--count-1 {
  grid-template-columns: 1fr;
}

.property-gallery--count-2 .property-gallery-thumbs {
  grid-template-rows: 1fr;
}

.property-gallery--count-4 .property-gallery-thumbs,
.property-gallery--count-5 .property-gallery-thumbs,
.property-gallery--count-6 .property-gallery-thumbs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.property-gallery--count-4 .property-gallery-thumb:nth-child(2) {
  grid-row: 1 / 3;
}

.property-gallery--count-6 .property-gallery-thumb:nth-child(n + 6) {
  display: none;
}

.property-gallery-thumb[data-more]::after {
  content: attr(data-more);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(15, 12, 10, 0.5);
  font-size: 1.35rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.property-info-card,
.property-description-card,
.property-map-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 2px solid var(--montara-green);
  background-color: rgba(0, 0, 0, 0.74);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(31, 54, 37, 0.18);
}

.property-detail-media-column,
.property-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.property-info-card {
  max-width: none;
  width: 100%;
  text-align: left;
  padding: 2rem;
}

.property-description-card {
  max-width: none;
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  margin-top: 24px;
}

.property-map-card {
  max-width: none;
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  margin-top: 24px;
}

.property-detail-title {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bg-cream);
  margin: 6px 0 10px;
}

.property-detail-price {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--montara-gold);
  margin-bottom: 18px;
}

.property-detail-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.property-detail-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(243, 236, 226, 0.8);
}

.property-detail-spec svg {
  color: var(--montara-green);
}

.property-detail-whatsapp {
  width: 100%;
  margin-bottom: 20px;
  background-color: var(--montara-green);
}

.property-detail-whatsapp:hover {
  background-color: #142519;
}

.property-detail-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 8px;
}

.property-detail-amenity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--montara-gold);
}

.property-detail-amenity svg {
  color: var(--montara-gold);
}

.property-detail-page .claim-section-title::before {
  background: var(--montara-gold);
}

.property-detail-description {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(243, 236, 226, 0.8);
  white-space: pre-line;
}

.property-detail-map {
  height: 340px;
  border-radius: 8px;
  border: 1px solid rgba(31, 54, 37, 0.82);
}

@media (max-width: 900px) {
  .property-detail-layout {
    grid-template-columns: 1fr;
  }

  .property-gallery {
    height: clamp(420px, 68vw, 600px);
  }
}

@media (max-width: 640px) {
  .properties-page {
    padding-top: 130px;
  }

  .property-gallery,
  .property-gallery--count-1 {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 7px;
    gap: 7px;
    border-radius: 13px;
  }

  .property-gallery-main {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 9px;
  }

  .property-gallery-thumbs,
  .property-gallery--count-2 .property-gallery-thumbs,
  .property-gallery--count-4 .property-gallery-thumbs,
  .property-gallery--count-5 .property-gallery-thumbs,
  .property-gallery--count-6 .property-gallery-thumbs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(72%, 1fr);
    grid-template-columns: none;
    grid-template-rows: 132px;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .property-gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .property-gallery-thumb,
  .property-gallery--count-4 .property-gallery-thumb:nth-child(2) {
    grid-row: auto;
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 5;
  background-color: var(--espresso);
  padding: 64px 2rem 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 30px;
  width: auto;
  filter: invert(1) hue-rotate(180deg) brightness(1.15);
  margin-bottom: 14px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(243, 236, 226, 0.6);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(243, 236, 226, 0.75);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--montara-gold);
}

.footer-legal {
  max-width: 1100px;
  margin: 20px auto 0;
  display: flex;
  justify-content: center;
}

.footer-claim-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(164, 133, 84, 0.35);
  border-radius: 999px;
  color: var(--montara-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.footer-claim-badge:hover {
  border-color: var(--montara-gold);
  background-color: rgba(164, 133, 84, 0.12);
}

.footer-claim-icon {
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-copyright,
.footer-location {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(243, 236, 226, 0.5);
}

@media (max-width: 600px) {
  .footer-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================================
   Botón flotante de WhatsApp (aparece al hacer scroll)
   ========================================================================== */

.whatsapp-float-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: #1F8A57;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);

  color: #ffffff;
  cursor: pointer;

  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease;
}

.whatsapp-float-btn--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-float-btn:hover {
  background-color: #176B43;
  transform: translateY(-2px) scale(1.05);
}

@media (max-width: 640px) {
  .whatsapp-float-btn {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}

/* ==========================================================================
   Modal de login (vista previa visual, sin funcionalidad)
   ========================================================================== */

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.login-modal--open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 8, 7, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.login-modal-panel {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 2.5rem;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
}

.login-modal--open .login-modal-panel {
  transform: translateY(0) scale(1);
}

.login-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--bg-cream);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-modal-close:hover {
  background-color: var(--montara-terracotta);
}

.login-modal-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--montara-gold);
  margin-bottom: 0.5rem;
}

.login-modal-title {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bg-cream);
  margin-bottom: 1.75rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-error {
  display: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #E88C7D;
  background-color: rgba(232, 140, 125, 0.12);
  border: 1px solid rgba(232, 140, 125, 0.3);
  border-radius: 6px;
  padding: 10px 14px;
}

.form-error:not(:empty) {
  display: block;
}

.form-error--success {
  color: #6FCB9F;
  background-color: rgba(111, 203, 159, 0.12);
  border-color: rgba(111, 203, 159, 0.3);
}

.login-form .form-field {
  width: 100%;
}

.login-form input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--bg-cream);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.login-form input::placeholder {
  color: rgba(243, 236, 226, 0.5);
}

.login-form input:focus {
  border-color: rgba(164, 133, 84, 0.7);
  background-color: rgba(255, 255, 255, 0.14);
}

.login-forgot {
  align-self: flex-end;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(243, 236, 226, 0.6);
  transition: color 0.3s ease;
}

.login-forgot:hover {
  color: var(--montara-gold);
}

.login-submit {
  flex: none;
  width: 100%;
  height: 48px;
  margin-top: 8px;
  justify-content: center;

  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-modal--open .login-submit {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.35s;
}

.login-modal-signup {
  margin-top: 1.75rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(243, 236, 226, 0.65);
}

.login-modal-signup a {
  color: var(--montara-gold);
  font-weight: 600;
  margin-left: 4px;
}

.signup-view,
.forgot-view {
  display: none;
}

.login-modal-panel--signup .login-view {
  display: none;
}

.login-modal-panel--signup .signup-view {
  display: block;
}

.login-modal-panel--forgot .login-view {
  display: none;
}

.login-modal-panel--forgot .forgot-view {
  display: block;
}

.forgot-intro {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(243, 236, 226, 0.65);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.signup-role {
  display: flex;
  gap: 8px;
}

.signup-role-btn {
  flex: 1;
  padding: 12px 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: rgba(243, 236, 226, 0.65);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.signup-role-btn.active {
  background-color: var(--montara-green);
  border-color: var(--montara-green);
  color: var(--bg-cream);
}

/* ==========================================================================
   Responsive — Hero & Buscador
   ========================================================================== */

@media (max-width: 900px) {
  .main-content {
    padding-top: 110px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 16px;
    gap: 0.75rem;
  }

  .main-nav,
  .site-header .lang-switch {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .montara-card.search-form {
    flex-direction: column;
    padding: 1rem;
  }

  .search-form .form-field,
  .btn-search {
    flex: 1 1 auto;
    width: 100%;
  }

  .hero-leads {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 100px 1rem 2rem;
  }

  .hero {
    gap: 1.1rem;
  }

  .btn-ghost {
    width: 100%;
    text-align: center;
  }
}
