/* =============================================================
   TRIMARE — Estética clara y minimalista (inspirada en Aispuru)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Paleta — clara, con azul marino y dorado del logo como acentos */
  --white:       #FFFFFF;
  --cream:       #FAF8F3;   /* fondo principal cálido */
  --cream-2:     #F2EEE6;   /* secciones alternas / sand */
  --cream-3:     #EAE4D8;
  --navy:        #0D1A2D;   /* texto principal + marca */
  --navy-soft:   #1B2C42;
  --steel:       #5E7E96;   /* azul acero — acento secundario */
  --steel-2:     #8BAABF;
  --gold:        #B8945A;   /* dorado — detalle premium */
  --gold-2:      #9C7A42;
  --ink:         #0D1A2D;
  --ink-mute:    #5A6470;   /* gris azulado para cuerpo */
  --ink-soft:    #7A828C;
  --line:        rgba(13,26,45,0.12);
  --line-2:      rgba(13,26,45,0.06);

  /* Semánticos */
  --bg:          var(--cream);
  --text:        var(--navy);
  --text-mute:   var(--ink-mute);
  --accent:      var(--gold);

  /* Tipo */
  --serif:  "Cormorant Garamond", "Georgia", serif;
  --sans:   "Inter", system-ui, sans-serif;

  /* Espaciado */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(5.5rem, 12vw, 11rem);

  /* Animación */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  background: var(--cream);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; font-weight: 300; }
input, textarea, select { font: inherit; color: inherit; background: none; border: none; outline: none; }
::selection { background: var(--navy); color: var(--cream); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .5rem 1rem; background: var(--navy); color: var(--cream);
  font-size: .875rem; font-weight: 500; border-radius: 3px;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =============================================================
   4. Cursor personalizado
   ============================================================= */
.cursor { pointer-events: none; position: fixed; inset: 0; z-index: 9998; }
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--navy);
  top: -2.5px; left: -2.5px;
  opacity: 0;
  transition: opacity .25s var(--ease-out), background .2s;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(13,26,45,0.35);
  top: -17px; left: -17px;
  opacity: 0;
  transition: opacity .25s var(--ease-out), width .35s var(--ease-out), height .35s var(--ease-out), border-color .2s;
}
.cursor.is-ready .cursor-dot,
.cursor.is-ready .cursor-ring { opacity: 1; }
.cursor.is-hover .cursor-ring {
  width: 50px; height: 50px;
  border-color: var(--gold);
}
.cursor.is-hover .cursor-dot { background: var(--gold); }

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* =============================================================
   5. Reveal animations
   ============================================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .85s var(--ease-out) var(--delay, 0s),
    transform .85s var(--ease-out) var(--delay, 0s);
}
.reveal-fade {
  opacity: 0;
  transition: opacity 1s var(--ease-soft) var(--delay, 0s);
}
.reveal-up.is-visible,
.reveal-fade.is-visible { opacity: 1; transform: none; }
.reveal-up[data-split],
.reveal-fade[data-split] { opacity: 1; transform: none; }

/* =============================================================
   6. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 2.1rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 1px;
  cursor: pointer;
  transition:
    background .3s var(--ease-out),
    color .3s var(--ease-out),
    border-color .3s var(--ease-out),
    transform .25s var(--ease-out);
  position: relative;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.btn--full { width: 100%; justify-content: center; }

.btn-check { display: none; }
.is-sent .btn-text { display: none; }
.is-sent .btn-check { display: block; }
.is-sent.btn-primary {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-2);
}

/* hero buttons over photo */
.hero-actions .btn-ghost {
  color: var(--cream);
  border-color: rgba(232,239,245,0.45);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}
.hero-actions .btn-ghost:hover { border-color: var(--cream); background: rgba(255,255,255,0.18); }
.hero-actions .btn-primary {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.hero-actions .btn-primary:hover { background: #fff; border-color: #fff; }

/* =============================================================
   7. Section shared
   ============================================================= */
.section-kicker {
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.section-kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.section-header--center .section-kicker { justify-content: center; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.06;
  letter-spacing: -.01em;
  margin-bottom: 1.75rem;
}
.section-title em {
  font-style: italic;
  color: var(--ink-mute);
}
.section-sub {
  font-size: 1rem;
  color: var(--text-mute);
  max-width: 54ch;
  line-height: 1.8;
}
.section-header { margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin-inline: auto; }

/* =============================================================
   8. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem var(--gutter);
  transition: background .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(250,248,243,0.92);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line-2);
}

.nav-logo {
  position: relative;
  display: block;
  line-height: 0;
}
.nav-logo-img {
  width: 132px;
  height: auto;
  transition: opacity .35s var(--ease-out), width .4s var(--ease-out);
}
.nav-logo-dark {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.nav.is-scrolled .nav-logo-img { width: 118px; }
.nav.is-scrolled .nav-logo-light { opacity: 0; }
.nav.is-scrolled .nav-logo-dark { opacity: 1; }
.nav-logo:hover { opacity: .85; }
.nav-logo:hover .nav-logo-svg { color: var(--gold-2); }

.nav-links {
  display: none;
  gap: 2.75rem;
  align-items: center;
}
.nav-link {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(232,239,245,0.82);       /* claro sobre la foto */
  transition: color .25s;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right .3s var(--ease-out);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { right: 0; }
.nav.is-scrolled .nav-link { color: var(--ink-mute); }
.nav.is-scrolled .nav-link:hover { color: var(--navy); }

.nav-cta {
  padding: .6rem 1.4rem;
  border: 1px solid rgba(232,239,245,0.5);
  border-radius: 1px;
  color: var(--cream) !important;
  font-weight: 500;
  transition: color .25s, background .25s, border-color .25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--cream);
  color: #fff !important;
}
.nav.is-scrolled .nav-cta {
  border-color: var(--navy);
  color: var(--navy) !important;
}
.nav.is-scrolled .nav-cta:hover {
  background: var(--navy);
  color: var(--cream) !important;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: transform .3s var(--ease-out), opacity .3s, background .35s;
}
.nav.is-scrolled .nav-burger span { background: var(--navy); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(250,248,243,0.98);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--ink-mute);
  transition: color .2s;
}
.nav-mobile-link:hover { color: var(--navy); }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
}

/* =============================================================
   9. HERO — claro, con imagen enmarcada
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.05);
  transition: transform 9s ease-out;
}
.hero.is-loaded .hero-bg img { transform: scale(1); }

/* Velo navy para que la foto se vea a color y el logo blanco contraste */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,26,45,0.78) 0%, rgba(13,26,45,0.5) 18%, rgba(13,26,45,0.36) 40%, rgba(13,26,45,0.5) 62%, rgba(13,26,45,0.66) 82%, rgba(13,26,45,0.88) 100%),
    radial-gradient(ellipse 75% 60% at 50% 48%, rgba(13,26,45,0.14) 0%, rgba(13,26,45,0.42) 100%);
}

.hero-inner {
  position: relative; z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 9rem var(--gutter) 7rem;
  gap: 1.75rem;
}

.hero-kicker {
  font-size: .625rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #D8BC8A;                      /* dorado claro sobre la foto */
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(13,26,45,0.5);
}

.hero-logo {
  font-size: inherit;
  line-height: 1;
  letter-spacing: 0;
  filter: drop-shadow(0 6px 28px rgba(13,26,45,0.5));
  margin: 0;
}
.hero-logo img {
  width: clamp(250px, 56vw, 520px);
  height: auto;
}

/* Subtítulo bajo el logo */
.hero-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  margin-top: -.25rem;
}
.hero-sub-main {
  font-family: var(--sans);
  font-size: clamp(.85rem, 1.6vw, 1.05rem);
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--cream);
  text-indent: .42em;
  text-shadow: 0 1px 14px rgba(13,26,45,0.5);
}
.hero-sub-loc {
  font-family: var(--sans);
  font-size: clamp(.62rem, 1.1vw, .72rem);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #D8BC8A;
  text-indent: .22em;
  text-shadow: 0 1px 12px rgba(13,26,45,0.55);
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.4vw, 2.3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.4;
  letter-spacing: .005em;
  max-width: 36ch;
  text-shadow: 0 2px 18px rgba(13,26,45,0.65), 0 1px 3px rgba(13,26,45,0.5);
}
.hero-tagline em {
  font-style: italic;
  color: #E3EDF4;                       /* claro y legible sobre la foto */
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  justify-content: center;
  margin-top: .75rem;
}

/* Buscador de propiedades */
.hero-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(13,26,45,0.12);
  border-radius: 2px;
  margin-top: 1.5rem;
  box-shadow: 0 18px 50px rgba(13,26,45,0.1);
  width: 100%;
  max-width: 760px;
  flex-wrap: wrap;
}
.hero-search-field {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  padding: .85rem 1.25rem;
  text-align: left;
}
.hero-search-field label {
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-2);
}
.hero-search-field select {
  width: 100%;
  font-size: .9rem;
  color: var(--navy);
  cursor: pointer;
  padding-right: 1.2rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D1A2D' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}
.hero-search-field select option { color: var(--navy); }
.hero-search-sep {
  width: 1px;
  align-self: center;
  height: 2.4rem;
  background: var(--line);
}
.hero-search-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0 1.75rem;
  background: var(--navy);
  color: var(--cream);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .25s var(--ease-out);
  flex-shrink: 0;
}
.hero-search-btn:hover { background: var(--navy-soft); }
.hero-search-btn svg { flex-shrink: 0; }

@media (max-width: 700px) {
  .hero-search {
    flex-direction: column;
    max-width: 360px;
  }
  .hero-search-field {
    padding: .8rem 1.25rem;
    border-bottom: 1px solid var(--line-2);
  }
  .hero-search-sep { display: none; }
  .hero-search-btn {
    justify-content: center;
    padding: 1rem;
  }
}

/* Estado vacío del buscador */
.props-empty {
  text-align: center;
  font-size: .95rem;
  color: var(--text-mute);
  padding: 3rem 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.props-empty[hidden] {
  display: none !important;
}
.props-reset {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-2);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s;
}
.props-reset:hover { color: var(--navy); }
.prop-card[hidden] { display: none; }
.props-grid[hidden] { display: none; }

/* Estado "reclutando propiedades" (cartera vacía) */
.props-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.props-placeholder[hidden] { display: none !important; }
.props-placeholder-icon {
  width: 54px; height: 54px;
  color: var(--gold-2);
  margin-bottom: 1.75rem;
}
.props-placeholder-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 1.1rem;
}
.props-placeholder-text {
  font-size: 1rem;
  color: var(--text-mute);
  line-height: 1.85;
  max-width: 48ch;
  margin-bottom: 2.25rem;
}
.props-placeholder-text strong { color: var(--navy); font-weight: 500; }
.props-placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  justify-content: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: .55;
}
.hero-scroll-line {
  display: block;
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--cream) 0%, transparent 100%);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}
.hero-scroll-text {
  font-size: .58rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream);
}

/* =============================================================
   10. ABOUT
   ============================================================= */
.about {
  padding-block: var(--section-pad);
  background: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}
.about-image { position: relative; }
.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-image-accent {
  position: absolute;
  inset: auto -16px -16px auto;
  width: 55%; height: 55%;
  border: 1px solid var(--gold);
  opacity: .4;
  pointer-events: none;
}
.about-body {
  font-size: 1rem;
  color: var(--text-mute);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

@media (min-width: 960px) {
  .about-inner { grid-template-columns: 0.85fr 1fr; }
}

/* =============================================================
   11. PROPIEDADES
   ============================================================= */
.props {
  padding-block: var(--section-pad);
  background: var(--cream);
}
.props-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 720px) {
  .props-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .props-grid { grid-template-columns: repeat(3, 1fr); }
}

.prop-card {
  background: transparent;
  transition: transform .4s var(--ease-out);
}

.prop-card-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.prop-card-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform .8s var(--ease-soft);
}
.prop-card:hover .prop-card-img img { transform: scale(1.05); }

.prop-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  background: rgba(250,248,243,0.92);
  backdrop-filter: blur(8px);
  color: var(--navy);
  font-weight: 500;
}

.prop-card-body { padding: 0; }
.prop-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: .5rem;
}
.prop-location {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-2);
}
.prop-m2 {
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.prop-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 1.8rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .85rem;
}
.prop-desc {
  font-size: .9rem;
  color: var(--text-mute);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.prop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.prop-price {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: .01em;
}
.prop-cta {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-2);
  transition: gap .25s, color .2s;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.prop-card:hover .prop-cta { gap: .65rem; }

/* =============================================================
   12. SERVICIOS
   ============================================================= */
.services {
  padding-block: var(--section-pad);
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  transition: background .35s;
}
@media (min-width: 720px) {
  .service-card { border-right: 1px solid var(--line); }
  .service-card:last-child { border-right: none; }
}
.service-card:hover { background: var(--cream); }

/* Tarjeta destacada: Alquiler familiar */
.service-card--featured {
  background: var(--cream);
  box-shadow: inset 3px 0 0 var(--gold);
}
.service-card--featured:hover { background: var(--cream-2); }
.service-card--featured .service-icon { color: var(--gold); }

.service-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
  padding: .35rem .75rem;
  border: 1px solid var(--gold);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 44px; height: 44px;
  color: var(--gold-2);
  margin-bottom: 1.75rem;
}
.service-title {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 1rem;
}
.service-desc {
  font-size: .9rem;
  color: var(--text-mute);
  line-height: 1.85;
}

/* =============================================================
   13. PILARES
   ============================================================= */
.pillars {
  position: relative;
  padding-block: var(--section-pad);
  background: var(--navy);
}
.pillars .section-kicker { color: var(--gold); }
.pillars .section-kicker::before { background: var(--gold); }
.pillars .section-title { color: var(--cream); }
.pillars .section-title em { color: var(--steel-2); }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 720px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.75rem);
  border-top: 1px solid rgba(232,239,245,0.14);
  border-left: 1px solid rgba(232,239,245,0.14);
}
.pillar:last-child { border-right: 1px solid rgba(232,239,245,0.14); }
@media (max-width: 719px) {
  .pillar:last-child { border-right: none; }
}

.pillar-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
  line-height: 1;
}
.pillar-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.pillar-text {
  font-size: .9rem;
  color: rgba(232,239,245,0.62);
  line-height: 1.85;
}

/* =============================================================
   14. CONTACTO
   ============================================================= */
.contact {
  padding-block: var(--section-pad);
  background: var(--cream-2);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}
@media (min-width: 960px) {
  .contact-inner { grid-template-columns: 1fr 1fr; }
}

.contact-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.contact-title em { font-style: italic; color: var(--ink-mute); }
.contact-sub {
  font-size: 1rem;
  color: var(--text-mute);
  line-height: 1.85;
  margin-bottom: 2.75rem;
  max-width: 44ch;
}

.contact-data {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .9rem;
  color: var(--navy);
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .25s, transform .25s;
}
.contact-item svg { color: var(--gold-2); flex-shrink: 0; }
.contact-item:hover {
  border-color: var(--navy);
  transform: translateX(3px);
}
.contact-wa svg { color: #25D366; }
.contact-wa:hover { border-color: #25D366; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3rem);
}
.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }

.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label {
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-2);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: .85rem 1rem;
  font-size: .95rem;
  color: var(--navy);
  width: 100%;
  resize: vertical;
  transition: border-color .25s, background .25s;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D1A2D' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group option { background: var(--white); color: var(--navy); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-soft); }

.form-status {
  font-size: .85rem;
  line-height: 1.6;
  text-align: center;
  padding: .85rem 1rem;
  border-radius: 2px;
  margin-top: .25rem;
}
.form-status[hidden] { display: none; }
.form-status--ok {
  color: #2f7d52;
  background: rgba(131,197,162,0.16);
  border: 1px solid rgba(131,197,162,0.5);
}
.form-status--err {
  color: var(--gold-2);
  background: rgba(184,148,90,0.1);
  border: 1px solid rgba(184,148,90,0.4);
}

.form-note {
  font-size: .7rem;
  color: var(--ink-soft);
  text-align: center;
}

/* =============================================================
   15. FOOTER
   ============================================================= */
.footer {
  background: var(--navy);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; }
}

.footer-logo img {
  width: 170px; height: auto;
  transition: opacity .25s;
}
.footer-logo:hover img { opacity: .82; }
.footer-sub {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-top: .85rem;
}
.footer-sub-main {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--steel-2);
  text-indent: .34em;
}
.footer-sub-loc {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel-2);
  text-indent: .2em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.25rem;
}
@media (min-width: 720px) { .footer-nav { justify-content: center; } }
.footer-nav a {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(232,239,245,0.6);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--cream); }

.footer-social { display: flex; gap: 1.1rem; }
.footer-social-link {
  color: var(--steel-2);
  transition: color .2s, transform .2s;
}
.footer-social-link:hover { color: var(--cream); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(232,239,245,0.1);
  padding: 1.5rem var(--gutter);
  text-align: center;
}
.footer-bottom p {
  font-size: .68rem;
  letter-spacing: .08em;
  color: rgba(232,239,245,0.5);
}

/* =============================================================
   16. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line { animation: none; opacity: .4; height: 26px; }
  .hero-bg img { transition: none; }
}

/* =============================================================
   Botón flotante de WhatsApp
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: clamp(1.1rem, 3vw, 1.9rem);
  right: clamp(1.1rem, 3vw, 1.9rem);
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 0;
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 100px;
  background: #83C5A2;                         /* verde WhatsApp en tono pastel */
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 14px 34px rgba(13,26,45,0.24), 0 4px 14px rgba(131,197,162,0.4);
  overflow: hidden;
  /* Oculto hasta scrollear */
  opacity: 0;
  transform: translateY(20px) scale(.85);
  pointer-events: none;
  transition:
    width .45s var(--ease-out),
    opacity .5s var(--ease-out),
    transform .5s var(--ease-out),
    border-color .3s, box-shadow .3s;
}
.wa-float.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Ícono de WhatsApp en verde dentro del círculo navy */
.wa-float svg {
  flex-shrink: 0;
  width: 60px;
  display: block;
  padding: 15px;
  color: #fff;
}

.wa-float-tip {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  padding-right: 1.4rem;
  transform: translateX(-4px);
  transition: opacity .3s ease .05s, transform .35s var(--ease-out);
}

.wa-float:hover {
  width: 196px;
  background: #74b994;
  border-color: rgba(255,255,255,0.65);
  box-shadow: 0 18px 42px rgba(13,26,45,0.3), 0 0 0 5px rgba(131,197,162,0.22);
}
.wa-float:hover .wa-float-tip { opacity: 1; transform: translateX(0); }

/* Halo verde sutil pulsante para señalar que es WhatsApp */
.wa-float::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 100px;
  border: 1.5px solid rgba(131,197,162,0.6);
  opacity: 0;
  animation: waPulse 2.6s ease-out infinite;
  pointer-events: none;
}
.wa-float.is-visible::after { opacity: 1; }
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (hover: none) {
  .wa-float:hover { width: 60px; }
  .wa-float:hover .wa-float-tip { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: opacity .4s, transform .4s; }
  .wa-float::after { animation: none; }
}

/* =============================================================
   MODAL GALERÍA
   ============================================================= */
.prop-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(13, 26, 45, 0.97);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.prop-modal[hidden] { display: none; }
.prop-modal.is-open  { opacity: 1; }

.prop-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 10;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.prop-modal-close:hover { background: rgba(255,255,255,0.16); }

.prop-modal-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.prop-modal-gallery {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 0;
}

.prop-modal-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem 1rem;
  box-sizing: border-box;
}
.prop-modal-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}

.prop-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.prop-modal-nav--prev { left: 1rem; }
.prop-modal-nav--next { right: 1rem; }
.prop-modal-nav:hover  { background: rgba(255,255,255,0.16); }
.prop-modal-nav:disabled { opacity: 0.25; cursor: default; pointer-events: none; }

.prop-modal-info {
  flex-shrink: 0;
  padding: 1rem 1.5rem 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.prop-modal-info-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.prop-modal-info-left { min-width: 0; }
.prop-modal-info-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
}

.prop-modal-counter {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 0.3rem;
}
.prop-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prop-modal-ubicacion {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.prop-modal-precio {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gold);
  white-space: nowrap;
}
.prop-modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.1rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.prop-modal-cta:hover { background: var(--gold-2); color: #fff; }

/* Foto count badge on card */
.prop-photos-badge {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  background: rgba(13,26,45,0.72);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  padding: 0.28rem 0.55rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  pointer-events: none;
}

/* Card image cursor */
.prop-card-img { cursor: pointer; }

/* Specs chips (dormitorios / baños) */
.prop-modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0 0.5rem;
}
.prop-modal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(184,148,90,0.4);
  border-radius: 100px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Extras checklist */
.prop-modal-features {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
}
.prop-modal-features li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.65);
}
.prop-modal-features li svg {
  flex-shrink: 0;
  color: var(--gold);
}

@media (max-width: 600px) {
  .prop-modal-img-wrap { padding: 3.5rem 3rem 0.5rem; }
  .prop-modal-nav--prev { left: 0.4rem; }
  .prop-modal-nav--next { right: 0.4rem; }
  .prop-modal-info-top { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .prop-modal-info-right { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .prop-modal-title { white-space: normal; }
}
