:root {
  /* Surfaces (60% white) */
  --bg: #FFFFFF;
  --paper: #F4FBFF;
  --white: #FFFFFF;
  --dark: #000000;

  /* Type (15% black) */
  --ink: #000000;
  --ink-soft: #404040;
  --ink-mute: #6B6B6B;
  --hairline: #C4C4C4;

  /* Primary accent — Amarillo Brillante (10%, CTAs y enlaces clave) */
  --accent: #FFD300;
  --accent-soft: #FFE470;
  --accent-dark: #B88F00;

  /* Secondary — Azul Cielo Profundo (10%, fondos secundarios y navegación) */
  --secondary: #00BFFF;
  --secondary-soft: #B3E8FF;
  --secondary-dark: #006FA6;

  /* Hover/labels — Rosa Intenso (3%, hover y etiquetas destacadas) */
  --hover: #FF69B4;
  --hover-soft: #FFB8DC;
  --hover-dark: #C8347A;

  /* Success — Verde Lima (2%, validación) */
  --success: #32CD32;
  --success-dark: #1E8B1E;

  /* Lines */
  --border: #E5E5E5;
  --border-soft: #F0F0F0;

  /* WhatsApp brand (FAB hover) */
  --wa: #25D366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  padding-top: 88px;
}
body:has(.hero-cinema) { padding-top: 0; }

:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 2px;
}
.section-dark *:focus-visible,
.footer *:focus-visible,
.cta-band *:focus-visible,
.fab-wa:focus-visible {
  outline-color: var(--accent-soft);
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); font-weight: 500; }

p { color: var(--ink-soft); font-size: 1rem; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 2rem; }

@media (max-width: 600px) {
  .container, .container-sm { padding: 0 1.25rem; }
}

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav.transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav.transparent .nav-brand,
.nav.transparent .nav-link,
.nav.transparent .nav-toggle { color: var(--white); }
.nav.transparent .nav-brand small { color: rgba(255,255,255,0.85); }
.nav.transparent .nav-link:hover,
.nav.transparent .nav-link.active { color: var(--white); }
.nav.transparent .nav-link::after { background: var(--white); }
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  max-width: 1280px; margin: 0 auto;
}
.nav-side {
  display: none;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 900px) {
  .nav-side { display: flex; }
  .nav-left { justify-self: start; }
  .nav-right { justify-self: end; }
}
@media (max-width: 899px) {
  .nav-side { display: none; }
  .nav-toggle { justify-self: end; grid-column: 3; }
}
.nav-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem; font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: center;
  justify-self: center;
  grid-column: 2;
}
.nav-brand small {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  margin-top: 4px;
  font-weight: 500;
}
.nav-links { display: none; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
}
.nav-link {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.nav-link:hover, .nav-link.active { color: var(--accent-dark); }
.nav-cta {
  background: var(--accent);
  color: var(--ink);
  padding: 0.75rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 2px solid var(--accent);
  transition: all .25s;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--hover); border-color: var(--hover); color: var(--white); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 2rem 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu .nav-link:last-child { border-bottom: none; }
.mobile-menu .nav-cta { margin-top: 1.25rem; display: inline-block; align-self: flex-start; }

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

/* ---------------- Hero ---------------- */
.hero {
  background: var(--bg);
  padding: 8rem 0 5rem;
  min-height: 82vh;
  display: flex; align-items: center;
  position: relative;
}
.hero-bg { display: none; }
.hero-inner { position: relative; z-index: 1; max-width: 1050px; }
.hero h1 {
  color: var(--ink);
  margin-bottom: 1.75rem;
  font-weight: 400;
}
.hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 3.5rem;
  font-weight: 400;
}
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stat-band {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  margin-top: 5.5rem;
  padding-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}
.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--ink);
  line-height: 1;
  font-weight: 400;
}
.hero-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-top: 0.85rem;
  color: var(--ink-mute);
  font-weight: 500;
}

.hero-mini {
  background: var(--bg);
  color: var(--ink);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.hero-mini h1 { color: var(--ink); margin-bottom: 1rem; }
.hero-mini .eyebrow { color: var(--accent-dark); }
.hero-mini p { color: var(--ink-soft); max-width: 700px; font-size: 1.1rem; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: 1.1rem 2.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  border-radius: 2px;
}
.btn:hover { background: var(--hover); border-color: var(--hover); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-wa { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-wa:hover { background: var(--hover); border-color: var(--hover); color: var(--white); }

/* ---------------- Sections ---------------- */
.section { padding: 7rem 0; }
.section-tight { padding: 4rem 0; }
.section-tighter { padding: 2rem 0; }
.section-light { background: var(--paper); }
.section-dark { background: var(--dark); color: rgba(255,255,255,0.85); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.7); }
.section-dark .eyebrow { color: var(--accent); }

.section-title { text-align: center; margin-bottom: 4.5rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-title p { margin-top: 1.25rem; font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ---------------- Property cards ---------------- */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2.5rem;
}
.prop-card {
  background: var(--white);
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.prop-card:hover {
  border-color: var(--accent);
  color: inherit;
}
.prop-img {
  aspect-ratio: 4/3;
  background: var(--paper) center/cover no-repeat;
  position: relative;
}
.prop-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(15,15,15,0.92);
  color: var(--white);
  padding: 0.4rem 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.prop-body { padding: 1.85rem; }
.prop-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.55rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-weight: 500;
}
.prop-location {
  font-size: 0.68rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.prop-price {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.25rem;
  font-family: 'Open Sans', sans-serif;
}
.prop-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* ---------------- About ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.7fr; gap: 5rem; }
}
.about-portrait {
  aspect-ratio: 3/4;
  background: var(--paper);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  position: sticky; top: 110px;
  font-style: italic;
}
.about-text p { margin-bottom: 1.5rem; line-height: 1.9; color: var(--ink); font-size: 1.05rem; }
.about-text p:first-of-type::first-letter {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  float: left;
  line-height: 0.85;
  padding: 0.35rem 0.65rem 0 0;
  color: var(--accent);
  font-style: italic;
}

/* ---------------- Services ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 2rem 1.75rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: 0 18px 38px -20px rgba(0, 111, 166, 0.28);
  border-color: var(--secondary-dark);
}
.service-card ul li { border-top-color: rgba(0, 111, 166, 0.18); }
.service-card h3 { margin-bottom: 0.9rem; font-size: 1.35rem; }
.service-card p { font-size: 0.95rem; line-height: 1.65; text-align: justify; hyphens: auto; }
.service-card.text-center p { text-align: center; hyphens: manual; }
.service-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.85rem;
  color: var(--accent-dark);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 800;
}
.service-num-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: auto;
  margin-right: auto;
}
.service-num-icon svg { width: 100%; height: 100%; }
.service-card ul { list-style: none; padding: 0; margin-top: 1.25rem; }
.service-card ul li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.9rem;
  position: relative;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 14px;
  height: 1px;
  background: var(--accent);
}

/* ---------------- Stats ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 3rem;
  text-align: center;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.75rem, 4vw, 3.75rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  font-weight: 500;
}

/* ---------------- CTA section ---------------- */
.cta-section {
  text-align: center;
  background: var(--dark);
  color: var(--white);
  padding: 7rem 2rem;
}
.cta-section h2 { color: var(--white); margin-bottom: 1.5rem; }
.cta-section p { color: rgba(255,255,255,0.7); margin: 0 auto 3rem; max-width: 580px; font-size: 1.1rem; }
.cta-section .eyebrow { color: var(--accent); }
.cta-section .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.cta-section .btn:hover { background: transparent; color: var(--white); border-color: var(--white); }
.cta-section .btn-wa { background: var(--white); color: var(--ink); border-color: var(--white); }
.cta-section .btn-wa:hover { background: transparent; color: var(--white); border-color: var(--white); }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 5rem 2rem 2rem;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; gap: 4rem; }
}
.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.65rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.footer-brand small {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-top: 0.5rem;
  font-weight: 600;
}
.footer h4 {
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.footer a { color: rgba(255,255,255,0.55); display: block; padding: 0.45rem 0; font-size: 0.92rem; }
.footer a:hover { color: var(--accent); }
.footer p { color: rgba(255,255,255,0.55); }
.footer-bottom {
  max-width: 1280px; margin: 2.5rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0,191,255,0.28);
  font-size: 0.78rem;
  text-align: center;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

/* ---------------- Floating WhatsApp ---------------- */
.fab-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  z-index: 60;
  transition: all 0.25s;
}
@media (max-width: 600px) {
  .fab-wa { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .fab-wa svg { width: 24px; height: 24px; }
}
.fab-wa:hover { background: var(--wa); transform: scale(1.05); }
.fab-wa svg { width: 26px; height: 26px; fill: white; }

/* ---------------- Form ---------------- */
.form { display: grid; gap: 1.75rem; max-width: 640px; margin: 0 auto; }
.form-field { display: grid; gap: 0.65rem; }
.form-label {
  font-size: 0.68rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.form-input, .form-textarea, .form-select {
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--ink-mute);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { padding: 0.85rem 0; background: transparent; }

/* ---------------- Property detail ---------------- */
.prop-detail-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .prop-detail-side-stack {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}
.prop-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper);
  aspect-ratio: 4/3;
  max-height: 60vh;
}
.prop-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.prop-carousel-slide {
  position: absolute;
  inset: 0;
  background: var(--paper) center/cover no-repeat;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  cursor: zoom-in;
}
.prop-carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.prop-carousel-slide.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  cursor: default;
}
.prop-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--accent-dark);
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
  backdrop-filter: blur(6px);
}
.prop-carousel-nav svg { width: 22px; height: 22px; }
.prop-carousel-nav.prev { left: 1rem; }
.prop-carousel-nav.next { right: 1rem; }
.prop-carousel-nav:hover {
  background: var(--accent-dark);
  color: var(--white);
  border-color: var(--accent-dark);
  transform: translateY(-50%) scale(1.05);
}
.prop-carousel-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  z-index: 2;
}
@media (max-width: 600px) {
  .prop-carousel-nav { width: 40px; height: 40px; }
  .prop-carousel-nav.prev { left: 0.5rem; }
  .prop-carousel-nav.next { right: 0.5rem; }
}

.prop-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease;
}
.prop-lightbox.open { opacity: 1; }
.prop-lightbox[hidden] { display: none; }
.prop-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}
.prop-lightbox-close,
.prop-lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
  backdrop-filter: blur(8px);
}
.prop-lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}
.prop-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
}
.prop-lightbox-nav svg { width: 26px; height: 26px; }
.prop-lightbox-nav.prev { left: 1.5rem; }
.prop-lightbox-nav.next { right: 1.5rem; }
.prop-lightbox-close:hover,
.prop-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.prop-lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.prop-lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
@media (max-width: 600px) {
  .prop-lightbox-close { top: 0.75rem; right: 0.75rem; width: 40px; height: 40px; }
  .prop-lightbox-nav { width: 44px; height: 44px; }
  .prop-lightbox-nav.prev { left: 0.5rem; }
  .prop-lightbox-nav.next { right: 0.5rem; }
}

.prop-detail-body { padding: 3rem 0 4rem; }
.prop-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 900px) {
  .prop-detail-grid { grid-template-columns: 2fr 1fr; gap: 4rem; }
}
.prop-detail-side {
  background: var(--paper);
  padding: 2.5rem;
  height: fit-content;
  border: 1px solid var(--border);
}
.prop-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (min-width: 600px) {
  .prop-detail-meta-grid { grid-template-columns: repeat(4, 1fr); }
}
.meta-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.meta-num { font-family: 'Montserrat', sans-serif; font-size: 2rem; color: var(--ink); font-weight: 400; }
.meta-label { font-size: 0.66rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.2em; margin-top: 0.4rem; font-weight: 500; }
/* ---------------- Utilities ---------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

.placeholder-img {
  background: linear-gradient(135deg, var(--secondary-soft) 0%, var(--paper) 60%, var(--accent-soft) 100%) !important;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.placeholder-hint {
  display: none;
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--ink-mute);
  font-style: italic;
  letter-spacing: 0.02em;
}

.empty-state {
  display: none;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--ink-soft);
}

.promise-band {
  background: var(--accent);
  color: var(--white);
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.promise-band strong { font-weight: 600; }

/* ============================================================
   HOME — Editorial layout (Lena Morgan style)
   ============================================================ */

/* ---------- Hero split (text + image) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg);
  min-height: calc(100vh - 80px);
}
@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 88px);
  }
}
.hero-split-content {
  padding: 4rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 900px) {
  .hero-split-content {
    padding: 6rem 4rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: 0;
  }
}
.hero-split-content .eyebrow { margin-bottom: 1.75rem; }
.hero-split-content h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1.04;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.hero-accent-line {
  width: 56px;
  height: 1px;
  background: var(--accent);
  margin: 2rem 0 1.75rem;
}
.hero-tagline {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.75rem;
  max-width: 400px;
}
.hero-tagline em {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  color: var(--accent-dark);
  font-size: 1.2rem;
  display: inline-block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.hero-split-image {
  min-height: 40vh;
  background: var(--paper);
  position: relative;
}
@media (min-width: 900px) {
  .hero-split-image { min-height: 100%; }
}
@media (min-width: 900px) {
  .hero-split-content { border-right: 1px solid var(--border); }
}

/* ---------- Conoce a Marena (bio editorial) ---------- */
.bio-section { background: var(--bg); padding: 7rem 0; }
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .bio-grid { grid-template-columns: 1fr 1.5fr; gap: 5rem; }
}
.bio-portrait {
  aspect-ratio: 3/4;
  background: var(--paper);
  border: 1px solid var(--border);
  position: sticky; top: 110px;
}
@media (max-width: 899px) {
  .bio-portrait { position: static; aspect-ratio: 4/3; }
}
.bio-text .eyebrow { color: var(--accent-dark); margin-bottom: 1rem; }
.bio-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.1;
}
.bio-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  color: var(--accent-dark);
  font-size: 1.1rem;
  margin: 0 0 2.25rem 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.bio-accent-line {
  width: 56px;
  height: 1px;
  background: var(--accent);
  margin: 0 0 2rem 0;
}
.bio-text > p:not(.bio-subtitle) {
  margin-bottom: 1.5rem;
  line-height: 1.85;
  color: var(--ink);
  font-size: 1.02rem;
  text-align: justify;
  hyphens: auto;
}
.bio-text > p:nth-of-type(2)::first-letter {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  float: left;
  line-height: 0.85;
  padding: 0.35rem 0.65rem 0 0;
  color: var(--accent-dark);
  font-weight: 800;
}
.bio-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (min-width: 720px) {
  .bio-stats { grid-template-columns: repeat(4, 1fr); }
}
.bio-stat {
  padding: 2rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.bio-stat .stat-num {
  font-size: clamp(2.25rem, 3vw, 2.85rem);
  margin-bottom: 0.5rem;
}
.bio-stat .stat-label { font-size: 0.66rem; }

/* ---------- Eyebrow line decorator ---------- */
.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow-line::before,
.eyebrow-line::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.title-serif {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ---------- Property filters (segmented pill control, editorial) ---------- */
.section-tight-top { padding-top: 2.5rem; }
.hero-mini-compact { padding-top: 4rem; padding-bottom: 2.5rem; }
.hero-mini-flush { border-bottom: none; }
.h2-single-line { max-width: 1100px; margin-left: auto; margin-right: auto; }
@media (min-width: 720px) { .h2-single-line { white-space: nowrap; } }

.prop-filters {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.filter-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-mute);
  white-space: nowrap;
}
.filter-pills {
  display: inline-flex;
  gap: 0.2rem;
  background: var(--paper);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.filter-pill {
  border: none;
  background: transparent;
  padding: 0.55rem 1.25rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}
.filter-pill:hover {
  color: var(--accent-dark);
  transform: translateY(-1px);
}
.filter-pill.active {
  background: var(--ink);
  color: var(--white);
}
.filter-pill.active:hover {
  background: var(--hover-dark);
  color: var(--white);
  transform: none;
}
.filter-pill:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .prop-filters {
    gap: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 2.25rem;
    padding-bottom: 1.5rem;
  }
  .filter-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .filter-label { text-align: center; }
  .filter-pills {
    justify-content: center;
    align-self: center;
  }
}

/* ---------- Featured marquee (infinite horizontal scroll) ---------- */
.featured-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0;
}
/* Gradient fade en los bordes para difuminar el corte */
.featured-marquee::before,
.featured-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.featured-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--paper) 0%, transparent 100%);
}
.featured-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--paper) 0%, transparent 100%);
}
.featured-row {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee var(--marquee-duration, 60s) linear infinite;
  will-change: transform;
}
/* Pausa al hover (parent o cualquier card adentro) */
.featured-marquee:hover .featured-row { animation-play-state: paused; }

.featured-row .featured-card {
  flex: 0 0 300px;
  aspect-ratio: 3/4;
}
@media (max-width: 700px) {
  .featured-marquee::before,
  .featured-marquee::after { width: 40px; }
  .featured-row .featured-card { flex: 0 0 240px; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reduced motion: pausa el loop y deja scroll horizontal manual */
@media (prefers-reduced-motion: reduce) {
  .featured-row {
    animation: none;
    overflow-x: auto;
    width: 100%;
    scroll-snap-type: x mandatory;
  }
  .featured-row .featured-card { scroll-snap-align: start; }
  .featured-marquee::before,
  .featured-marquee::after { display: none; }
}
.featured-card {
  aspect-ratio: 3/4;
  background: var(--paper) center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.featured-card:hover { opacity: 0.88; }
.featured-card .featured-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(15,15,15,0.85);
  color: var(--white);
  padding: 0.3rem 0.75rem;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Services with icons (4-col, hairline grid) ---------- */
.services-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (min-width: 900px) {
  .services-icons { grid-template-columns: repeat(4, 1fr); }
}
.service-icon-card {
  padding: 3rem 1.75rem;
  text-align: center;
  background: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}
.service-icon-card:hover { background: var(--paper); }
.service-icon {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-dark);
  background: var(--secondary-soft);
  border-radius: 50%;
}
.service-icon svg { width: 30px; height: 30px; stroke: var(--accent-dark); }
.service-icon-card:hover .service-icon { background: var(--accent); }
.service-icon-card:hover .service-icon svg { stroke: var(--ink); }
.service-icon-card h3,
.service-icon-card h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 500;
}
.service-icon-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- CTA band (image background + overlay) ---------- */
.cta-band {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 5rem 0;
  overflow: hidden;
  background: var(--dark);
}
.cta-band-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #2a2a2a, #0a0a0a);
  background-size: cover;
  background-position: center;
}
.cta-band-img.placeholder-img {
  display: block;
  font-family: 'Montserrat', sans-serif;
}
.cta-band-img.placeholder-img span {
  position: absolute;
  bottom: 1.25rem; right: 1.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  font-style: italic;
  letter-spacing: 0.05em;
}
.cta-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,15,15,0.55) 0%, rgba(15,15,15,0.35) 100%);
  z-index: 1;
}
@media (max-width: 768px) {
  .cta-band-overlay { background: rgba(15,15,15,0.6); }
}
.cta-band-inner {
  position: relative;
  z-index: 2;
}
.cta-band-content { max-width: none; }
.cta-band-content > p { max-width: 540px; }
.cta-band-content > .btn { display: inline-flex; }
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}
.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn-light:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ---------- Footer centered (editorial) ---------- */
.footer-centered { text-align: center; }
.footer-centered-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1.5rem;
}
.footer-centered .footer-brand {
  color: var(--white);
  text-decoration: none;
  margin-bottom: 0;
  display: inline-block;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.5rem 0 1.25rem;
}
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  padding: 0;
  transition: all 0.25s ease;
  font-size: 0;
}
.footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.footer-socials svg { width: 16px; height: 16px; }
.footer-tagline {
  max-width: 520px;
  margin: 0.5rem auto 0;
  font-size: 0.95rem;
  font-style: italic;
  font-family: 'Montserrat', sans-serif;
  color: rgba(255,255,255,0.6);
}
.footer-bottom-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: left;
}
@media (max-width: 600px) {
  .footer-bottom-split { justify-content: center; text-align: center; padding-bottom: 70px; }
}

/* ============================================================
   MOBILE OVERRIDES (post-review fixes)
   ============================================================ */
@media (max-width: 600px) {
  .section { padding: 4.5rem 0; }
  .bio-section { padding: 4.5rem 0; }
  .nav-inner,
  .mobile-menu { padding-left: 1.25rem; padding-right: 1.25rem; }
  .bio-text > p:nth-of-type(2)::first-letter {
    font-size: 2.75rem;
    padding: 0.2rem 0.45rem 0 0;
  }
  .bio-stat .stat-label { letter-spacing: 0.15em; font-size: 0.62rem; }
  .service-icon-card { padding: 2.25rem 1rem; }
  .service-icon-card h3,
  .service-icon-card h4 { letter-spacing: 0.18em; font-size: 0.7rem; }
  .footer-tagline { font-size: 0.92rem; }
}
@media (max-width: 380px) {
  .hero-split-content { padding: 3rem 1.25rem 3.5rem; }
  .hero-split-content h1 { font-size: 2rem; line-height: 1.08; }
  .footer-brand small { letter-spacing: 0.18em; }
}
@media (max-width: 899px) {
  .hero-split { min-height: auto; }
}

/* ============================================================
   APPEARANCE REVEAL ANIMATIONS (scroll-triggered, hero excluded)
   + ENHANCED HOVER STATES
   ============================================================ */

/* Base reveal: opacity 0 + soft translate until .in-view is added by JS observer */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children: cards/items appear one after another */
.reveal-stagger.reveal > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.reveal.in-view > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.reveal.in-view > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.reveal.in-view > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.reveal.in-view > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.reveal.in-view > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.reveal.in-view > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger.reveal.in-view > *:nth-child(n+6) { transition-delay: 500ms; }

/* Acento extra para la grid de servicios: stagger más amplio y traslación más perceptible */
.services-grid.reveal-stagger.reveal > * {
  transform: translateY(36px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-grid.reveal-stagger.reveal.in-view > *:nth-child(1) { transition-delay: 80ms; }
.services-grid.reveal-stagger.reveal.in-view > *:nth-child(2) { transition-delay: 260ms; }
.services-grid.reveal-stagger.reveal.in-view > *:nth-child(3) { transition-delay: 440ms; }

/* ---------- Enhanced hover: Featured cards (home) ---------- */
.featured-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease,
              opacity 0.3s;
  will-change: transform;
}
.featured-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 24px 50px rgba(0,0,0,0.15);
  opacity: 1;
}
.featured-card .featured-badge {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease;
}
.featured-card:hover .featured-badge {
  background: var(--accent-dark);
}

/* ---------- Enhanced hover: Service icon cards ---------- */
.service-icon-card {
  transition: background 0.3s,
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease;
}
.service-icon-card:hover {
  background: var(--paper);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,191,255,0.12);
}
.service-icon {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.35s ease;
}
.service-icon-card:hover .service-icon {
  transform: scale(1.12) rotate(-6deg);
}

/* ---------- Bio stats: lift + bg ---------- */
.bio-stat {
  transition: background 0.3s ease,
              transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.bio-stat:hover {
  background: var(--paper);
  transform: translateY(-3px);
}

/* ---------- Bio portrait + about portrait: subtle scale on hover ---------- */
.bio-portrait,
.about-portrait {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease;
  overflow: hidden;
}
.bio-portrait:hover,
.about-portrait:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* ---------- Drop cap: gentle pulse on hover of paragraph ---------- */
.bio-text > p:nth-of-type(2)::first-letter {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              color 0.3s ease;
  display: inline-block;
}
.bio-text > p:nth-of-type(2):hover::first-letter {
  transform: scale(1.08) rotate(-3deg);
  color: var(--accent);
}

/* ---------- Buttons: subtle lift + brand shadow ---------- */
.btn {
  transition: background 0.25s, color 0.25s, border-color 0.25s,
              transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,211,0,0.28);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255,211,0,0.15);
}
.btn-wa:hover { box-shadow: 0 8px 24px rgba(255,105,180,0.32); }
.btn-outline:hover,
.btn-outline-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,211,0,0.35);
}

/* ---------- Nav links: underline grow on hover ---------- */
.nav-link {
  position: relative;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%;
  bottom: -6px;
  height: 1px;
  background: var(--accent-dark);
  transition: left 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after,
.nav-link.active::after {
  left: 0; right: 0;
}

/* ---------- Footer socials: bouncy scale ---------- */
.footer-socials a {
  transition: border-color 0.25s ease, color 0.25s ease,
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-socials a:hover {
  transform: scale(1.18) translateY(-2px);
}

/* ---------- Footer links: arrow slide ---------- */
.footer a {
  transition: color 0.25s ease, padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer a:hover { padding-left: 6px; }

/* ---------- Property cards (full grid /propiedades) ---------- */
.prop-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease,
              border-color 0.3s ease;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* ---------- Section title eyebrow lines extend on hover ---------- */
.section-title .eyebrow-line::before,
.section-title .eyebrow-line::after {
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-title:hover .eyebrow-line::before,
.section-title:hover .eyebrow-line::after {
  width: 56px;
}

/* ---------- Form fields: focus glow ---------- */
.form-input, .form-textarea, .form-select {
  transition: border-color 0.25s ease, box-shadow 0.3s ease;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-bottom-color: var(--hover-dark);
  box-shadow: 0 1px 0 0 var(--hover-dark);
}

/* ---------- FAB WhatsApp: subtle pulse on hover ---------- */
.fab-wa {
  transition: all 0.25s ease,
              transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fab-wa:hover {
  transform: scale(1.12) rotate(-8deg);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

/* ---------- Respect prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger.reveal > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .featured-card:hover,
  .service-icon-card:hover,
  .service-icon-card:hover .service-icon,
  .bio-stat:hover,
  .bio-portrait:hover,
  .about-portrait:hover,
  .btn:hover, .btn:active,
  .prop-card:hover,
  .footer-socials a:hover,
  .footer a:hover,
  .fab-wa:hover,
  .bio-text > p:nth-of-type(2):hover::first-letter,
  .section-title:hover .eyebrow-line::before,
  .section-title:hover .eyebrow-line::after {
    transform: none !important;
    padding-left: 0 !important;
    width: 36px !important;
  }
}

/* ============================================================
   HERO CINEMA — fullscreen video hero
   ============================================================ */
.hero-cinema {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: var(--white);
}
@supports (height: 100svh) {
  .hero-cinema { height: 100svh; }
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  pointer-events: none;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,15,15,0.55) 0%, rgba(15,15,15,0.35) 35%, rgba(15,15,15,0.7) 100%);
  z-index: 1;
}
.hero-cinema-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(11rem, 30vh, 22rem) 2rem 3rem;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-cinema-content .eyebrow,
.hero-cinema-content h1,
.hero-cinema-content .hero-accent-line {
  opacity: 0;
  animation: heroFadeIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 5s forwards;
}
.hero-cinema-content .hero-tagline {
  opacity: 0;
  animation: heroSlideUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 6s forwards;
}
.hero-cinema-content .hero-cta-row {
  opacity: 0;
  animation: heroSlideUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 7s forwards;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cinema-content .eyebrow,
  .hero-cinema-content h1,
  .hero-cinema-content .hero-accent-line,
  .hero-cinema-content .hero-tagline,
  .hero-cinema-content .hero-cta-row { opacity: 1; animation: none; }
}
.hero-cinema-content .eyebrow {
  color: var(--accent);
  margin-bottom: 2.25rem;
}
.hero-cinema-content h1 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.8vw, 2.6rem);
  font-weight: 500;
  margin: 0 auto;
  max-width: 100%;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
@media (min-width: 900px) {
  .hero-cinema-content h1 { white-space: nowrap; }
}
.hero-cinema-content .hero-accent-line {
  background: var(--accent);
  width: 64px;
  height: 2px;
  margin: 2.25rem auto 2rem;
}
.hero-cinema-content .hero-tagline {
  color: rgba(255,255,255,0.92);
  margin: 0 auto 2.75rem;
  max-width: 520px;
  line-height: 1.6;
}
.hero-cinema-content .hero-tagline em {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.15rem;
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  display: inline-block;
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}
.hero-cinema-content .hero-cta-row {
  justify-content: center;
}
.hero-cinema-content .btn-light {
  letter-spacing: 0.22em;
}
.hero-cinema-content .btn-light:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
@media (max-width: 900px) {
  .hero-cinema-content { padding: 6rem 1.5rem 2rem; }
}
@media (max-width: 600px) {
  .hero-cinema-content { padding: 5rem 1.25rem 1.5rem; }
  .hero-cinema-content h1 { font-size: clamp(1.25rem, 5.5vw, 1.85rem); max-width: 100%; }
  .hero-cinema-content .hero-tagline em { font-size: 1.05rem; }
}
