/* ============================================
   Laura Zucheli — Inmobiliaria
   Tokens, base styles, animations
   ============================================ */

/* Honor the [hidden] attribute regardless of any later display:* rule.
   Without this, rules like `.prop-loading { display: grid }` defeat the
   browser's default `[hidden] { display: none }` because of CSS specificity,
   which leaves loading skeletons stuck on screen. */
[hidden] { display: none !important; }

/* Italic retired in favour of semibold for highlight/emphasis. This
   neutralises the browser's default italic on <em>/<i> so any place we use
   them (admin WYSIWYG output, copy with inline emphasis, etc.) renders as
   weighted text instead of slanted. */
em, i { font-style: normal; font-weight: 600; }

/* Visually-hidden but kept in the accessibility tree (SEO/screen readers) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  /* Palette */
  --navy-900: #21304D;
  --navy-800: #2a3b5c;
  --navy-700: #34466a;
  --navy-600: #3e5278;

  --cream-50: #faf6ee;
  --cream-100: #f3ece0;
  --cream-200: #e8dfcf;
  --cream-300: #d9cdb6;

  --gold-500: #BDA48E;
  --gold-400: #c9b29f;
  --gold-300: #d6c2b3;

  --ink-900: #14161b;
  --ink-700: #2a2f3a;
  --ink-500: #5a6172;
  --ink-300: #9aa0ad;

  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(15, 29, 51, 0.12);

  /* Type */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: 28px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  background: var(--cream-50);
  color: var(--ink-900);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

/* ============================================
   Typography
   ============================================ */

.eyebrow {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  color: var(--gold-500);
}

.eyebrow-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.eyebrow.on-light {
  color: var(--gold-500);
}

/* Defensive: if the legacy .dark modifier is still present on an eyebrow,
   strip the global .dark background so it never shows as a navy box. */
.eyebrow.dark {
  background: transparent !important;
  color: var(--gold-500) !important;
  padding: 0 !important;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.display em {
  font-weight: 600;
  color: var(--gold-300);
}

/* Italic content inside any editable text inherits the brand gold by default.
   Section-specific rules (.hero h1 em, .h2 em, etc.) override where needed. */
[data-editable] em,
[data-editable] i {
  font-weight: 600;
  color: var(--gold-500);
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-500);
  max-width: 56ch;
  text-wrap: pretty;
}

.lead.invert {
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================
   Layout helpers
   ============================================ */

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

section {
  position: relative;
}

.section-pad {
  padding: clamp(80px, 10vw, 140px) 0;
}

.dark {
  background: var(--navy-900);
  color: #fff;
}

.cream {
  background: var(--cream-100);
  color: var(--ink-900);
}

.white {
  background: #fff;
  color: var(--ink-900);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.45s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.45s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(6px);
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(201, 169, 106, 0.6);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-dark {
  background: var(--navy-900);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-500);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: all 0.4s var(--ease);
}

.link-inline:hover {
  border-color: var(--gold-500);
}

.link-inline .arrow {
  transition: transform 0.4s var(--ease);
}

.link-inline:hover .arrow {
  transform: translateX(6px);
}

.link-inline.invert {
  color: var(--gold-300);
}

/* About-section CTA: navy text with full underline in gold */
.link-about {
  margin-top: 28px;
  color: var(--navy-900);
  font-size: 13px;
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), gap 0.4s var(--ease);
}

.link-about:hover {
  color: var(--navy-700);
  border-color: var(--navy-900);
  gap: 18px;
}

.link-about .arrow {
  font-size: 16px;
  transition: transform 0.4s var(--ease);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  /* Nav entry handled by post-loader cascade (body.is-ready) */
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}

@keyframes navEnter {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Plain fade for the entry — no transform, no containing block. Used on
   mobile where any non-`none` transform on .nav would break the burger
   panel positioning. */
@keyframes navFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .nav { animation: none; }
}

/* Glassmorphism on scroll — applied through a ::before pseudo-element
   instead of on .nav itself. Why: backdrop-filter on .nav would create a
   containing block, which re-anchors the position:fixed .nav-links panel
   (mobile menu) to the small header bar instead of the viewport. The
   pseudo-element is a child of .nav, not an ancestor of .nav-links, so
   it provides the glass effect without breaking mobile menu positioning. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  padding: 10px 0;
}
.nav.scrolled::before {
  background: rgba(15, 29, 51, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.has-solid-nav .nav {
  padding: 10px 0;
}
body.has-solid-nav .nav::before {
  background: rgba(15, 29, 51, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* When the mobile menu is open, the panel covers the viewport — make the
   nav bg fully opaque so the items behind don't bleed through. */
.nav.is-open::before,
.nav.is-open.scrolled::before {
  background: var(--navy-900);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: center;
}
.nav-inner > nav {
  display: flex;
  justify-content: flex-end;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.logo-img {
  height: 22px;
  width: auto;
  display: block;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}

.logo:hover .logo-img {
  opacity: 0.85;
}

.logo-img-footer {
  height: 16px;
}

/* Wordmark del nav · usa Logo.png (LAURA ZUCHELI + INMOBILIARIA composed)
   como máscara del alpha, coloreada con `currentColor` desde CSS. */
.logo-wordmark {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  transition: opacity .3s ease;
}
.logo-wordmark:hover { opacity: .82; }

.logo-wordmark-mark {
  display: block;
  width: 200px;
  aspect-ratio: 1014 / 189;
  background: currentColor;
  -webkit-mask: url('logo-lz-wordmark.png') center/contain no-repeat;
          mask: url('logo-lz-wordmark.png') center/contain no-repeat;
  transition: width .45s var(--ease);
}

.nav.scrolled .logo-wordmark-mark,
body.has-solid-nav .logo-wordmark-mark { width: 172px; }

@media (max-width: 900px) {
  .logo-wordmark-mark { width: 176px; }
  .nav.scrolled .logo-wordmark-mark,
  body.has-solid-nav .logo-wordmark-mark { width: 150px; }
}
@media (max-width: 560px) {
  .logo-wordmark-mark { width: 148px; }
  .nav.scrolled .logo-wordmark-mark,
  body.has-solid-nav .logo-wordmark-mark { width: 128px; }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--serif);
  font-size: 18px;
  color: #fff;
}

.logo-sub {
  font-family: var(--sans);
  font-size: 9px;
  color: var(--gold-400);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-400);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.nav-burger {
  display: none;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 1px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  background: var(--navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
}

.hero-shape {
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
}

.hero-shape svg {
  width: 100%;
  height: 100%;
}

.hero-shape .triangle {
  fill: var(--navy-700);
  opacity: 0.6;
}

.hero-shape .triangle-2 {
  fill: var(--navy-600);
  opacity: 0.5;
}

.hero-shape .line {
  stroke: var(--gold-500);
  stroke-width: 1;
  fill: none;
  opacity: 0.3;
}

/* Background image (uploads/headers.png) — parallax outer + animated inner */
.hero-bg,
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.hero-bg-inner {
  position: absolute;
  inset: -6% -2%;
  background-image: url('../uploads/hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.06) translateY(-8px);
  filter: saturate(1.02);
  animation: heroBgIn 2.2s var(--ease-out) 0.15s forwards;
  will-change: transform, opacity, filter;
}

@keyframes heroBgIn {
  0% {
    opacity: 0;
    transform: scale(1.06) translateY(-8px);
    filter: saturate(0.6) blur(6px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: saturate(1.02) blur(0);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 18px 0 26px;
}

.hero h1 em {
  font-weight: 400;
  font-style: normal;
  color: var(--gold-400);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: 48ch;
  margin-bottom: 0;
  font-size: 15.5px;
  line-height: 1.5;
  font-weight: 300;
}

/* Line-by-line reveal for the hero h1.
   No padding-bottom — we rely on the h1's line-height (1.1) to leave room
   for italic descenders, so spacing stays uniform regardless of which lines
   have descenders. */
.hero-line {
  display: block;
}

.hero-line > span {
  display: inline;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll hint · flecha ↓ abajo a la izquierda del hero.
   Bob suave: sube 8px y baja para invitar a scrollear. */
.hero-scroll {
  position: absolute;
  bottom: 46px;
  left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 44px;
  color: var(--gold-400);
  text-decoration: none;
  transition: color .3s ease;
}
.hero-scroll svg {
  width: 26px;
  height: 26px;
  display: block;
  animation: heroScrollBob 1.8s cubic-bezier(.5,0,.25,1) infinite;
}
.hero-scroll:hover { color: #fff; }
@keyframes heroScrollBob {
  0%   { transform: translateY(-6px); opacity: .35; }
  30%  { transform: translateY(0);    opacity: 1;   }
  70%  { transform: translateY(8px);  opacity: 1;   }
  100% { transform: translateY(14px); opacity: 0;   }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll svg { animation: none; }
}
@media (max-width: 900px) {
  .hero-scroll { bottom: 32px; width: 28px; height: 36px; }
  .hero-scroll svg { width: 22px; height: 22px; }
}

.hero-meta {
  position: absolute;
  bottom: 50px;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  z-index: 2;
}

.hero-meta-line {
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   ABOUT SUMMARY
   ============================================ */

.about {
  background: #fff;
  padding: clamp(100px, 12vw, 160px) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.about-image {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
}

.about-image .img-placeholder {
  width: 100%;
  height: 100%;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold-400);
  z-index: 0;
  transition: transform 0.8s var(--ease);
}

.about-image:hover::before {
  transform: translate(8px, -8px);
}

.about-content .h2 {
  margin: 22px 0 28px;
  color: var(--navy-900);
}

.about-content .h2 em {
  font-weight: 600;
  color: var(--gold-500);
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */

.img-placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(15, 29, 51, 0.04) 0px,
      rgba(15, 29, 51, 0.04) 2px,
      transparent 2px,
      transparent 14px
    ),
    var(--cream-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: var(--ink-500);
  position: relative;
  z-index: 1;
}

.img-placeholder.dark-mode {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 2px,
      transparent 2px,
      transparent 14px
    ),
    var(--navy-700);
  color: rgba(255, 255, 255, 0.5);
}

/* Real photos placed inside image containers */
.about-image img,
.about-intro-image img,
.founder-image img,
.service-slide-image img,
.property-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.about-image { aspect-ratio: 5/4; }
.property-image { aspect-ratio: 4/3; }

/* Parallax — JS updates --py with the live offset, scale gives breathing room */
.about-image img,
.about-intro-image img,
.founder-image img,
.service-slide-image img,
.property-image img {
  --py: 0px;
  transform: translate3d(0, var(--py), 0) scale(1.45);
  will-change: transform;
}

/* ============================================
   SERVICES
   ============================================ */

.services {
  background: #F5F3F0;
  padding: clamp(100px, 12vw, 160px) 0;
}

.services-head {
  margin-bottom: 70px;
  max-width: 720px;
}

.services-head .lead {
  margin-top: 24px;
}

.services-head .h2 em {
  font-weight: 600;
  color: var(--gold-500);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  padding: 38px 32px;
  position: relative;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  border: 1px solid transparent;
  cursor: default;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width 0.6s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(15, 29, 51, 0.18);
}

.service-card:hover::after {
  width: 100%;
}

.service-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--gold-500);
  margin-bottom: 22px;
  display: block;
}

.service-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0;
}

.service-card.feature {
  background: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 32px;
}

.service-card.feature::after { display: none; }

.service-card.feature:hover {
  background: var(--navy-800);
  transform: translateY(-6px);
}

.service-card.feature .feature-text {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 400;
}

.service-card.feature .feature-text em {
  font-weight: 600;
  color: var(--gold-300);
}

.service-card.feature .feature-arrow {
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.5s var(--ease);
  align-self: flex-end;
}

.service-card.feature:hover .feature-arrow {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  transform: translate(4px, -4px);
}

/* ============================================
   PROCESS / CÓMO TRABAJAMOS
   ============================================ */

.process {
  background: var(--navy-900);
  color: #fff;
  padding: clamp(100px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}

.process-head {
  margin-bottom: 80px;
  position: relative;
  max-width: 720px;
}

.process-head .lead {
  margin-top: 24px;
}

.process-head .h2 em {
  font-weight: 600;
  color: var(--gold-300);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  margin-bottom: 60px;
}

.process-step {
  background: var(--navy-900);
  padding: 40px 30px 44px;
  position: relative;
  animation: processCycle 16s ease-in-out infinite;
}

/* Slow, sequential highlight — each step lights up in turn, fades back out
   smoothly, and stays dim until its turn comes round again. */
@keyframes processCycle {
  0%   { background: var(--navy-900); }
  6%   { background: var(--navy-800); }
  18%  { background: var(--navy-800); }
  25%  { background: var(--navy-900); }
  100% { background: var(--navy-900); }
}

.process-step:nth-child(1) { animation-delay: 0s;  }
.process-step:nth-child(2) { animation-delay: 4s;  }
.process-step:nth-child(3) { animation-delay: 8s;  }
.process-step:nth-child(4) { animation-delay: 12s; }

@media (prefers-reduced-motion: reduce) {
  .process-step { animation: none; }
}

.process-step-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--gold-400);
  margin-bottom: 26px;
  display: block;
}

.process-step h3,
.process-step h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 18px;
}

.process-step p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ============================================
   PROCESS PAGE — light, horizontal rows
   ============================================ */

.process-page {
  background: #fff;
  padding: 0;
}

.process-rows {
  border-top: 1px solid var(--line-dark);
}

.process-row {
  --row-pad-x: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  padding: 70px var(--row-pad-x);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  align-items: start;
  overflow: hidden;
  isolation: isolate;
  cursor: default;
  transition: padding-left 0.9s var(--ease-out);
}

/* full-viewport wash that sweeps in from the left on hover */
.process-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #E5DBD2;
  transform: translateX(-100.5%);
  transition: transform 0.9s var(--ease-out);
  z-index: -1;
  will-change: transform;
}

/* gold accent rule that grows under the meta column */
.process-row::after {
  content: "";
  position: absolute;
  left: var(--row-pad-x);
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-500);
  transition: width 0.9s var(--ease-out) 0.1s;
  z-index: 1;
}

.process-row:hover {
  padding-left: calc(var(--row-pad-x) + 14px);
}

.process-row:hover::before {
  transform: translateX(0);
}

.process-row:hover::after {
  width: 220px;
}

.process-row-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.7s var(--ease-out);
}

.process-row:hover .process-row-meta {
  transform: translateX(-4px);
}

.process-row-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 38px;
  color: var(--gold-500);
  line-height: 1;
  display: inline-block;
  transform-origin: left center;
  transition: color 0.7s var(--ease-out), transform 0.7s var(--ease-out), letter-spacing 0.7s var(--ease-out);
}

.process-row-label {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 8px;
  transition: color 0.7s var(--ease-out), letter-spacing 0.7s var(--ease-out);
}

.process-row:hover .process-row-num {
  color: var(--navy-900);
  transform: scale(1.14);
}

.process-row:hover .process-row-label {
  color: var(--navy-700);
}

.process-row-body {
  max-width: 64ch;
  position: relative;
}

.process-row-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
  color: var(--navy-900);
  transition: transform 0.7s var(--ease-out);
  transform-origin: left bottom;
}

.process-row:hover .process-row-body h2 {
  transform: translateY(-3px);
}

.process-row-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-500);
  margin: 0 0 14px;
  transition: color 0.7s var(--ease-out);
}

.process-row-body p:last-child {
  margin-bottom: 0;
}

.process-row:hover .process-row-body p {
  color: var(--ink-700);
}

/* CTA banner reused style for "Más que intermediarios" */
.quote-banner {
  background: var(--navy-900);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.quote-banner-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 28px;
}

.quote-banner .btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  transition: all 0.45s var(--ease);
}

.quote-banner .btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(189, 164, 142, 0.6);
}

@media (max-width: 720px) {
  .process-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 50px var(--gutter);
  }
  .process-row-num { font-size: 30px; }
}

/* ============================================
   PROPERTIES
   ============================================ */

.properties {
  background: #fff;
  padding: clamp(100px, 12vw, 160px) 0;
}

.properties-head {
  text-align: center;
  margin-bottom: 70px;
}

.properties-head .eyebrow {
  justify-content: center;
}

.properties-head .h2 {
  margin-top: 22px;
  margin-bottom: 18px;
}

.properties-head .h2 em {
  font-weight: 600;
  color: var(--gold-500);
}

.properties-head p {
  font-size: 15px;
  color: var(--ink-500);
  max-width: 52ch;
  margin: 0 auto;
}

/* Toggle (Venta / Alquiler) — flat, matches the site's sharp-corner buttons.
   The container has padding so the active pill leaves a visible frame around
   it (classic pill effect, but with straight edges). */
.properties-toggle {
  display: inline-flex;
  align-items: stretch;
  background: #efece6;
  margin: 0 auto 40px;
  padding: 5px;
  gap: 0;
}
.properties-head ~ .properties-toggle,
.properties .properties-toggle {
  display: flex;
  justify-content: center;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.prop-pill {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  background: transparent;
  border: 0;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.prop-pill:hover { color: var(--navy-900); }
.prop-pill.active {
  background: var(--navy-900);
  color: #fff;
}

.properties-carousel {
  position: relative;
  margin-bottom: 56px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Skeleton (shown until /api/properties.php returns) */
.property-card.is-skeleton { pointer-events: none; border-color: transparent; box-shadow: none; }
.sk {
  display: block;
  background: linear-gradient(90deg, #efece6 0%, #f6f3ed 50%, #efece6 100%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.4s linear infinite;
  border-radius: 4px;
}
.sk-line { height: 12px; margin: 8px 0; }
.is-skeleton .property-image .sk { width: 100%; height: 100%; border-radius: 0; }
.is-skeleton .property-tag { background: transparent; }
@keyframes sk-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.properties-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-500);
  font-weight: 600;
  padding: 60px 20px;
  margin: 0;
}

.prop-nav {
  position: absolute;
  top: var(--prop-arrow-y, 28%);
  width: 44px;
  height: 44px;
  background: var(--navy-900);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  z-index: 4;
  padding: 0;
}

.prop-nav svg { width: 18px; height: 18px; display: block; }

.prop-nav:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}

.prop-prev { left: -22px; }
.prop-next { right: -22px; }

.property-card {
  background: #fff;
  border: 1px solid rgba(15, 29, 51, 0.1);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s var(--ease), box-shadow 0.6s var(--ease);
}

.property-card:hover {
  border-color: rgba(15, 29, 51, 0.18);
  box-shadow: 0 18px 40px -28px rgba(15, 29, 51, 0.18);
}

.property-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--cream-200);
}

.property-image .img-placeholder {
  width: 100%;
  height: 100%;
}

.property-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
}

.property-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-500);
  margin-bottom: 10px;
}

.property-card h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--navy-900);
}

.property-loc {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 16px;
}

.property-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 29, 51, 0.08);
}

.property-price {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
}

.property-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.property-link:hover {
  color: var(--gold-500);
}

.property-link .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.property-link:hover .arrow {
  transform: translateX(4px);
}

.properties-cta {
  text-align: center;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
  background: #F5F3F0;
  padding: clamp(100px, 12vw, 160px) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
}

.contact-form-wrap .h2 {
  margin: 18px 0 18px;
}

.contact-form-wrap .h2 em {
  font-weight: 600;
  color: var(--gold-500);
}

.contact-form-wrap > p {
  color: var(--ink-500);
  margin-bottom: 38px;
  font-size: 14.5px;
  max-width: 50ch;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-900);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 10px 0;
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%235a6172' stroke-width='1' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 22px;
  cursor: pointer;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-500);
}

.field .err {
  display: none;
  font-size: 12px;
  color: #b34a4a;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #b34a4a;
}

.field.invalid .err {
  display: block;
}

.contact-form .submit {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.form-status {
  grid-column: 1 / -1;
  margin-top: 14px;
  font-size: 13px;
  color: var(--gold-500);
  display: none;
}

.form-status.show { display: block; }

/* contact info column */

.contact-info .info-block {
  margin-bottom: 30px;
}

.contact-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-700);
}

.contact-info li .icon {
  width: 14px; height: 14px;
  flex: 0 0 14px;
  margin-top: 4px;
  color: var(--gold-500);
}

.contact-info li strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-900);
  margin-bottom: 2px;
}

.contact-info li span {
  font-size: 14px;
  color: var(--ink-500);
}

.contact-map {
  margin-top: 28px;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line-dark);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(0.95);
  transition: filter 0.6s ease;
}

.contact-map:hover iframe {
  filter: grayscale(0) contrast(1);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 36px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.credit-link {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.credit-link:hover {
  color: var(--gold-300);
  border-color: var(--gold-300);
}

/* ============================================
   SERVICES PAGE — Carousel
   ============================================ */

.services-carousel {
  background: #fff;
  overflow: hidden;
}

.service-slides {
  position: relative;
}

.service-slide {
  display: none;
}

.service-slide.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: slideFade 0.6s var(--ease-out);
}

@keyframes slideFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-slide-text {
  padding-top: clamp(60px, 7vw, 100px);
  padding-bottom: clamp(60px, 7vw, 100px);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-right: clamp(36px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 540px;
}

.service-slide-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--gold-500);
  margin-bottom: 28px;
}

.service-slide-text h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--navy-900);
  letter-spacing: -0.005em;
}

.service-slide-text p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-700);
  margin: 0 0 14px;
  max-width: 56ch;
}

.service-slide-controls {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  background: var(--cream-100);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  border: 0;
}

.carousel-btn:hover {
  background: var(--navy-900);
  color: #fff;
}

.service-slide-image {
  position: relative;
  overflow: hidden;
  background: var(--cream-200);
}

.service-slide-image .img-placeholder {
  height: 100%;
  width: 100%;
}

/* ============================================
   SERVICES PAGE — CTA banner
   ============================================ */

.services-cta-banner {
  background: var(--navy-900);
  color: #fff;
  padding: clamp(60px, 7vw, 90px) 0;
  text-align: center;
}

.services-cta-banner h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 auto 18px;
}

.services-cta-banner p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  margin: 0 0 30px;
}

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  transition: all 0.4s var(--ease);
  border: 0;
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(189, 164, 142, 0.7);
}

@media (max-width: 1024px) {
  .service-slide.active { grid-template-columns: 1fr; }
  .service-slide-image { aspect-ratio: 4/3; }
}

/* ============================================
   PAGE HERO (subpages — shorter than home hero)
   ============================================ */

.page-hero {
  background: var(--navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 200px 0 140px;
}

.page-hero .hero-shape {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 5.8vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin: 24px 0 30px;
}

.page-hero h1 em {
  font-weight: 600;
  color: var(--gold-300);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.76);
  max-width: 58ch;
  font-size: 16.5px;
  line-height: 1.7;
}

/* Subpage hero entrance — eyebrow, h1 lines, lead stagger */
.page-hero .eyebrow,
.page-hero .lead {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 1.1s var(--ease-out) forwards;
}

.page-hero .eyebrow { animation-delay: 0.55s; }
.page-hero .lead    { animation-delay: 1.05s; }

.page-hero .hero-line > span {
  animation: heroLineUp 1.15s var(--ease-out) forwards;
}

.page-hero .hero-line:nth-of-type(1) > span { animation-delay: 0.7s; }
.page-hero .hero-line:nth-of-type(2) > span { animation-delay: 0.85s; }

/* ============================================
   ABOUT — Intro long-form
   ============================================ */

.about-intro {
  background: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-intro-text p {
  color: var(--ink-700);
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0 0 18px;
  max-width: 58ch;
}

.about-intro-divider {
  margin-top: 42px;
  padding: 6px 0 6px 28px;
  border-left: 3px solid var(--gold-500);
  border-top: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.4;
  color: var(--navy-900);
  max-width: 60ch;
}

.about-intro-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.about-intro-image .img-placeholder {
  height: 100%;
}

/* ============================================
   VALUES — 2x2 grid
   ============================================ */

.values {
  background: #fff;
  padding: 0 0 clamp(80px, 10vw, 130px);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.value-card {
  background: #F5F3F0;
  padding: 44px 40px 38px;
  position: relative;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.value-card::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold-500);
  margin-bottom: 28px;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -28px rgba(33, 48, 77, 0.18);
}

.value-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-500);
  margin: 0;
}

/* ============================================
   FOUNDER — Laura bio
   ============================================ */

.founder {
  background: #F2F5F9;
  padding: clamp(80px, 10vw, 130px) 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.founder-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.founder-image .img-placeholder {
  height: 100%;
}

.founder-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.05;
  margin: 0 0 10px;
}

.founder-role {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-900);
  display: block;
  margin-bottom: 28px;
}

.founder-bio p {
  color: var(--ink-700);
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0 0 16px;
  max-width: 58ch;
}

/* ============================================
   STATS BAND
   ============================================ */

.stats-band {
  background: var(--navy-900);
  color: #fff;
  padding: clamp(60px, 7vw, 90px) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}

.stat {
  position: relative;
  padding: 0 24px;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: -30px; top: 50%;
  width: 1px; height: 60%;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-50%);
}

.stat-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  color: var(--gold-300);
  display: block;
  margin-bottom: 14px;
  white-space: nowrap;
}

.stat-label {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

.stat-sub {
  font-family: var(--sans);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .about-intro-grid,
  .founder-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 720px) {
  .values-grid,
  .stats-grid { grid-template-columns: 1fr; gap: 18px; }
  .stat + .stat::before { display: none; }
}

.footer h5 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--gold-400);
  margin: 0 0 22px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s ease;
}

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

.footer-brand .logo-name {
  font-size: 22px;
}

.footer-brand p {
  margin: 0;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 16px;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease);
}

.socials a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS / REVEALS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: transform, opacity;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

.reveal-x {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

.reveal-x.in {
  opacity: 1;
  transform: translateX(0);
}

.reveal-x.from-right {
  transform: translateX(40px);
}
.reveal-x.from-right.in {
  transform: translateX(0);
}

/* split text */
.split-line {
  display: block;
  overflow: hidden;
}
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
  will-change: transform;
}
.split-line.in > span {
  transform: translateY(0);
}
.split-line[data-delay="1"] > span { transition-delay: 0.1s; }
.split-line[data-delay="2"] > span { transition-delay: 0.2s; }
.split-line[data-delay="3"] > span { transition-delay: 0.3s; }
.split-line[data-delay="4"] > span { transition-delay: 0.4s; }

/* parallax */
.parallax {
  will-change: transform;
}

/* hero entrance in HOME handled by post-loader cascade (see body.is-ready).
   Legacy keyframes kept here — .page-hero (internal pages) still references
   them until they're migrated to the cascade too. */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes heroLineUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.hero-shape {
  opacity: 0;
  animation: shapeIn 1.6s var(--ease-out) 0.3s forwards;
}
@keyframes shapeIn {
  to { opacity: 1; }
}

.hero-meta {
  opacity: 0;
  animation: heroIn 1s var(--ease-out) 1.55s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow,
  .hero .lead,
  .hero .hero-actions,
  .hero .hero-line > span,
  .page-hero .eyebrow,
  .page-hero .lead,
  .page-hero .hero-line > span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero-bg-inner {
    animation: none !important;
    opacity: 0.3 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .nav-links { gap: 24px; }
  .about-grid { gap: 60px; }
  .services-grid,
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prop-prev { left: -10px; }
  .prop-next { right: -10px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }

  .nav-burger { display: flex; position: relative; z-index: 101; cursor: pointer; }

  /* Mobile: only the entry animation gets swapped to a plain fade. The
     backdrop-filter glass effect lives on .nav::before, so it doesn't
     create a containing block on .nav itself — the burger panel
     positioning stays anchored to the viewport. */
  .nav {
    animation-name: navFade;
    animation-duration: 0.6s;
  }

  .eyebrow { font-size: 12px; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 100px 32px 40px;
    margin: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition:
      transform 0.55s var(--ease-out),
      opacity 0.25s ease;
    z-index: 100;
    pointer-events: none;
  }
  .nav.is-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 32px;
    color: #fff;
    letter-spacing: -0.005em;
  }

  .nav-cta {
    position: fixed;
    left: 32px;
    right: 32px;
    bottom: 36px;
    text-align: center;
    z-index: 100;
    transform: translateY(160%);
    opacity: 0;
    transition:
      transform 0.55s var(--ease-out),
      opacity 0.25s ease;
    pointer-events: none;
  }
  .nav.is-open .nav-cta {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Burger to X */
  .nav.is-open .nav-burger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav.is-open .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  .nav.is-open .nav-burger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-shape { width: 80%; opacity: 0.4; }
  .hero-meta { display: none; }

  .about-grid,
  .services-head,
  .process-head,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .services-grid,
  .process-grid { grid-template-columns: 1fr; }

  .prop-nav { display: none; }

  /* Properties → horizontal swipeable carousel */
  .properties-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* full-bleed: extend past container padding so cards reach the edge */
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 18px;
    scroll-padding-left: var(--gutter);
    scrollbar-width: none;
  }
  .properties-grid::-webkit-scrollbar { display: none; }
  .property-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .contact-form { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   CATALOG (propiedades.html)
   ============================================ */
.page-hero-compact { padding: 160px 0 100px; }

.catalog { background: #fff; padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); }

.catalog-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 32px;
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}
.catalog-toolbar .properties-toggle { margin: 0; }
.catalog-filters {
  display: flex;
  gap: 16px;
  align-items: end;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.catalog-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.catalog-field > span {
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 500;
}
.catalog-field select,
.catalog-field input[type="search"] {
  padding: 9px 14px;
  border: 1px solid var(--line-dark);
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink-900);
  border-radius: 0;
  min-width: 180px;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.catalog-field select:focus,
.catalog-field input[type="search"]:focus { border-color: var(--gold-500); }

.catalog-count {
  font-size: 13px;
  color: var(--ink-500);
  white-space: nowrap;
}

.catalog-grid { grid-template-columns: repeat(3, 1fr); }
.catalog-pagination { display: flex; justify-content: center; margin-top: 48px; }
.property-card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.property-card-link:hover .property-link { color: var(--gold-500); }
.property-card-link:hover .property-link .arrow { transform: translateX(4px); }

@media (max-width: 1024px) {
  .catalog-toolbar { grid-template-columns: 1fr; gap: 16px; }
  .catalog-filters { justify-content: flex-start; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-field select, .catalog-field input[type="search"] { min-width: 0; width: 100%; }
  .catalog-filters { flex-direction: column; align-items: stretch; }
}

/* ============================================
   PROPERTY DETAIL (propiedad.html)
   ============================================ */
.prop-detail {
  background: #fff;
  padding: 130px 0 clamp(80px, 10vw, 140px);
  min-height: 70vh;
}
.prop-back {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 28px;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.prop-back:hover { color: var(--gold-500); }

.prop-loading { display: grid; gap: 14px; }
.prop-loading .sk-image { width: 100%; height: 360px; }

.prop-error { text-align: center; padding: 80px 20px; }
.prop-error h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--navy-900);
  margin-bottom: 14px;
}
.prop-error p { color: var(--ink-500); margin-bottom: 28px; }

.prop-detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 80px;
}
.prop-cover {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #253451 0%, #1a273f 100%);
}
.prop-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prop-cover img.is-broken { display: none; }

.prop-cover-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(15, 29, 51, 0.78);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 2;
  padding: 0;
}
.prop-cover-nav:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}
.prop-cover-nav svg { width: 22px; height: 22px; display: block; }
.prop-cover-prev { left: 16px; }
.prop-cover-next { right: 16px; }

.prop-cover-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 29, 51, 0.78);
  color: #fff;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
}

@media (max-width: 600px) {
  .prop-cover-nav { width: 40px; height: 40px; }
  .prop-cover-nav svg { width: 18px; height: 18px; }
  .prop-cover-prev { left: 10px; }
  .prop-cover-next { right: 10px; }
}
.prop-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.prop-thumb {
  aspect-ratio: 4/3;
  border: 0;
  padding: 0;
  background: var(--cream-200);
  cursor: pointer;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease);
}
.prop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prop-thumb:hover { opacity: 0.85; }
.prop-thumb.active { opacity: 1; outline: 2px solid var(--gold-500); outline-offset: 0; }

.prop-info { padding-top: 8px; }
.prop-info .property-tag {
  display: inline-block;
  background: none;
  color: var(--gold-500);
  padding: 0;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 500;
}
.prop-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  color: var(--navy-900);
  margin: 0 0 14px;
}
.prop-loc {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0 0 22px;
}
.prop-price {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--navy-900);
  margin: 0 0 28px;
}

.prop-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.prop-features li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 13.5px;
}
.prop-features li:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line-dark); }
.prop-features li:nth-child(even) { padding-left: 18px; }
.ft-label { color: var(--ink-500); font-size: 12px; }
.ft-value { color: var(--navy-900); font-weight: 500; }

.prop-cta { margin-bottom: 12px; }
.prop-cta-wa.btn-gold { display: inline-flex; }

.prop-description {
  border-top: 1px solid var(--line-dark);
  padding-top: 48px;
  margin-bottom: 80px;
  max-width: 70ch;
}
.prop-description .h2 { margin-bottom: 22px; }
.prop-description p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-700);
  margin: 0 0 14px;
}
.prop-description p:last-child { margin-bottom: 0; }
.prop-description .dim { color: var(--ink-500); font-weight: 600; }

.prop-location { border-top: 1px solid var(--line-dark); padding-top: 48px; }
.prop-location .h2 { margin-bottom: 22px; }
.prop-map {
  width: 100%;
  height: 420px;
  background: var(--cream-200);
}
.prop-map iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 900px) {
  /* Reorder on mobile: tag + title + location go above the gallery,
     price + features + CTAs go below. .prop-info uses display:contents
     so its children become direct flex children of the grid, allowing
     individual `order` values. */
  .prop-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .prop-info { display: contents; }

  .prop-info .property-tag { order: 1; margin-bottom: 4px; }
  .prop-info .prop-title   { order: 2; margin-bottom: 6px; }
  .prop-info .prop-loc     { order: 3; margin-bottom: 4px; }
  .prop-info .prop-price   { order: 4; margin: 0 0 4px; }
  .prop-gallery            { order: 5; }
  .prop-info .prop-features{ order: 6; }
  .prop-info .prop-cta     { order: 7; }
  .prop-info .prop-cta-wa  { order: 8; }

  .prop-features { grid-template-columns: 1fr; }
  .prop-features li:nth-child(odd) { padding-right: 0; border-right: 0; }
  .prop-features li:nth-child(even) { padding-left: 0; }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  color: #fff;
  border-radius: 50%;
  box-shadow:
    0 22px 44px -10px rgba(15, 29, 51, 0.55),
    0 8px 18px -4px rgba(15, 29, 51, 0.35);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wa-float:hover {
  background: var(--navy-700);
  transform: translateY(-3px);
  box-shadow:
    0 28px 56px -10px rgba(15, 29, 51, 0.6),
    0 12px 24px -4px rgba(15, 29, 51, 0.4);
}
.wa-float svg {
  width: 30px;
  height: 30px;
  display: block;
}
@media (max-width: 720px) {
  .wa-float {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ============================================================
   Property cards · staggered reveal
   Applied via JS (.is-revealed) after each render to support
   dynamically-injected cards (HOME block + catalog).
   ============================================================ */
.property-card:not(.is-skeleton) {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms cubic-bezier(.22,.61,.36,1),
    transform 520ms cubic-bezier(.22,.61,.36,1),
    border-color .25s ease,
    box-shadow .25s ease;
  transition-delay: var(--card-delay, 0ms);
}
.property-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Property detail · staged reveal
   Children fade up after data loads.
   ============================================================ */
.prop-content[hidden] { display: none; }
.prop-content {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.prop-content.is-loaded {
  opacity: 1;
  transform: translateY(0);
}
.prop-content.is-loaded .prop-gallery,
.prop-content.is-loaded .prop-info > *,
.prop-content.is-loaded .prop-description,
.prop-content.is-loaded .prop-location {
  animation: propStage 600ms cubic-bezier(.22,.61,.36,1) backwards;
}
.prop-content.is-loaded .prop-gallery        { animation-delay: 60ms; }
.prop-content.is-loaded .prop-info > *:nth-child(1) { animation-delay: 120ms; }
.prop-content.is-loaded .prop-info > *:nth-child(2) { animation-delay: 180ms; }
.prop-content.is-loaded .prop-info > *:nth-child(3) { animation-delay: 240ms; }
.prop-content.is-loaded .prop-info > *:nth-child(4) { animation-delay: 300ms; }
.prop-content.is-loaded .prop-info > *:nth-child(5) { animation-delay: 360ms; }
.prop-content.is-loaded .prop-info > *:nth-child(6) { animation-delay: 420ms; }
.prop-content.is-loaded .prop-info > *:nth-child(7) { animation-delay: 480ms; }
.prop-content.is-loaded .prop-description    { animation-delay: 200ms; }
.prop-content.is-loaded .prop-location       { animation-delay: 280ms; }

@keyframes propStage {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* zoom-in affordance on the main cover image */
.prop-cover img { transition: transform .4s ease; }
.prop-cover img:hover { transform: scale(1.02); }

/* ============================================================
   Lightbox · fullscreen gallery view
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 16, 28, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden]  { display: none !important; }

.lightbox-figure {
  margin: 0;
  max-width: min(96vw, 1600px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 80px;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}
.lightbox-counter {
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  letter-spacing: .04em;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, .18);
  transform: scale(1.05);
}
.lightbox-close svg,
.lightbox-nav svg { width: 22px; height: 22px; display: block; }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 720px) {
  .lightbox-figure { padding: 0 12px; gap: 10px; }
  .lightbox-figure img { max-height: 78vh; }
  .lightbox-close,
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-close svg,
  .lightbox-nav svg { width: 18px; height: 18px; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-prev  { left: 10px; }
  .lightbox-next  { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .property-card:not(.is-skeleton) { opacity: 1; transform: none; transition: none; }
  .prop-content { opacity: 1; transform: none; transition: none; }
  .prop-content.is-loaded .prop-gallery,
  .prop-content.is-loaded .prop-info > *,
  .prop-content.is-loaded .prop-description,
  .prop-content.is-loaded .prop-location { animation: none; }
  .prop-cover img:hover { transform: none; }
  .lightbox { transition: none; }
}

/* ============================================================
   Site loader · velo navy full-screen con isologotipo, línea
   gold que se dibuja, hold y curtain-up. Sin FLIP: el velo se
   retira como cortina hacia arriba y deja el nav debajo con
   su propio logo en su lugar.
   ============================================================ */
body.is-loading { overflow: hidden; }
/* Anti-flash: el hero espera al cascade */
body.is-loading .nav,
body.is-loading .hero .eyebrow,
body.is-loading .hero h1,
body.is-loading .hero .lead,
body.is-loading .hero .hero-actions { opacity: 0; }

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--navy-900);
  display: grid;
  place-items: center;
  will-change: transform;
}

/* Curtain-up */
.site-loader.is-leaving {
  transform: translateY(-100%);
  transition: transform 1.05s cubic-bezier(.76,0,.24,1);
}

.site-loader-stage {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.site-loader-mark {
  display: block;
  width: min(420px, 46vw);
  aspect-ratio: 2217 / 786;
  color: #fff;
  background: currentColor;
  -webkit-mask: url('logo-lz-isologotipo.svg') center/contain no-repeat;
          mask: url('logo-lz-isologotipo.svg') center/contain no-repeat;
  opacity: 0;
  transform: scale(.985);
  filter: blur(8px);
  animation: loaderMarkIn 1s cubic-bezier(.22,.61,.36,1) .15s forwards;
  will-change: opacity, transform, filter;
}

@keyframes loaderMarkIn {
  from { opacity: 0; transform: scale(.985); filter: blur(8px); }
  to   { opacity: 1; transform: scale(1);    filter: blur(0);   }
}

.site-loader-line {
  display: block;
  width: min(420px, 46vw);
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: .85;
  animation: loaderLineIn .95s cubic-bezier(.7,.02,.24,.98) .75s forwards;
}

@keyframes loaderLineIn {
  0%   { transform: scaleX(0);   transform-origin: left center; }
  50%  { transform: scaleX(1);   transform-origin: left center; }
  50.01% { transform: scaleX(1); transform-origin: right center; }
  100% { transform: scaleX(0);   transform-origin: right center; }
}

/* Curtain-up también fade-off del contenido antes de que suba */
.site-loader.is-leaving .site-loader-mark,
.site-loader.is-leaving .site-loader-line {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s ease, transform .5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .site-loader.is-leaving { transition: opacity .3s ease; opacity: 0; transform: none; }
  .site-loader-mark, .site-loader-line { animation: none; opacity: 1; filter: none; transform: none; }
}

/* ============================================================
   Post-loader entry · cascade elegante
   Se dispara cuando body pierde .is-loading y gana .is-ready.
   Timing pensado: nada empieza en 0, todo respira, y el
   easing es un out-expo suave (--ease-editorial).
   ============================================================ */
:root { --ease-editorial: cubic-bezier(.19,1,.22,1); }

@keyframes editorialRise {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}

@keyframes editorialRiseSubtle {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes editorialFadeScale {
  from { opacity: 0; transform: scale(1.08); }
  to   { opacity: 1; transform: scale(1);    }
}

/* Nav entra desde arriba. `backwards` (no `both`) es importante:
   `both` deja el transform: translateY(0) aplicado al terminar, y ese
   transform crea un containing block/stacking context que aisla el nav
   del resto → el backdrop-filter del ::before no puede blurear el
   background. `backwards` sostiene el `from` durante el delay y libera
   el elemento a su estado natural cuando termina, sin transform residual. */
body.is-ready .nav {
  animation: navEnterEditorial 1s var(--ease-editorial) backwards;
  animation-delay: .1s;
}
@keyframes navEnterEditorial {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0);     }
}

/* Contenido del hero — cascade */
body.is-ready .hero .eyebrow {
  animation: editorialRise 1.15s var(--ease-editorial) backwards;
  animation-delay: .55s;
}
body.is-ready .hero h1 {
  animation: editorialRise 1.25s var(--ease-editorial) backwards;
  animation-delay: .75s;
}
body.is-ready .hero .lead {
  animation: editorialRiseSubtle 1.15s var(--ease-editorial) backwards;
  animation-delay: 1.05s;
}
body.is-ready .hero .hero-actions {
  animation: editorialRiseSubtle 1.05s var(--ease-editorial) backwards;
  animation-delay: 1.28s;
}

@media (prefers-reduced-motion: reduce) {
  body.is-ready .nav,
  body.is-ready .hero .eyebrow,
  body.is-ready .hero h1,
  body.is-ready .hero .lead,
  body.is-ready .hero .hero-actions { animation: none; opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   SERVICES v2 · dark navy block · cards inline expandibles
   Ref: card horizontal-strip donde la card activa toma el ancho
   grande y las otras colapsan a una banda vertical con icono +
   título. Hover en desktop, click en mobile.
   ============================================================ */
.services-dark {
  position: relative;
  isolation: isolate;
  padding: 140px 0 160px;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}

/* Fondo · gradiente sutil + noise para no dejar la sección chata */
.services-dark-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 120% 80% at 20% 0%,   rgba(189, 164, 142, .08) 0%, transparent 55%),
    radial-gradient(ellipse 100% 70% at 90% 100%, rgba(189, 164, 142, .06) 0%, transparent 60%),
    linear-gradient(180deg, #1a273f 0%, var(--navy-900) 60%, #1a273f 100%);
}
.services-dark-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .3;
  mix-blend-mode: overlay;
}

.services-dark-inner {
  position: relative;
  z-index: 1;
}

.services-dark-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px 40px;
  align-items: end;
  margin-bottom: 80px;
}
.services-dark-head-copy {
  max-width: 720px;
  display: grid;
  gap: 22px;
}
.services-dark-head .eyebrow { color: rgba(255, 255, 255, .65); }
.services-dark-head .lead.invert { color: rgba(255, 255, 255, .72); max-width: 560px; }

.services-dark-head .link-inline.invert { justify-self: end; }

@media (max-width: 720px) {
  .services-dark-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .services-dark-head .link-inline.invert { justify-self: start; }
}

.h2-invert { color: #fff; }
.h2-invert em { color: var(--gold-400); font-weight: 600; font-style: normal; }

/* Strip · las cards nunca cambian su layout interno cuando expanden.
   Icon, num y title son absolute-positioned dentro de la card, con
   sus posiciones fijas. Solo el body aparece con opacity+translate. */
.svc-strip {
  display: flex;
  gap: 0;
  height: 480px;
  border-top: 1px solid rgba(255,255,255,.09);
  border-bottom: 1px solid rgba(255,255,255,.09);
  overflow: hidden;
}

.svc-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  padding: 40px 34px;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.09);
  color: #fff;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition:
    flex-grow .85s cubic-bezier(.7,.02,.24,.98),
    background .5s ease;
  font: inherit;
}
.svc-card:first-child { border-left: 0; }
.svc-card:focus-visible { outline: 2px solid var(--gold-400); outline-offset: -3px; }

/* Icon · fijo top-left */
.svc-card-icon {
  position: absolute;
  top: 40px;
  left: 34px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--gold-400);
  transition: color .4s ease;
  z-index: 2;
}
.svc-card-icon svg { width: 100%; height: 100%; }

/* Title · fijo bottom-left, siempre visible.
   No usa ellipsis: los títulos son cortos (Venta, Alquiler, ...) y deben
   entrar completos en la card colapsada. */
.svc-card-title {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 40px;
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.1;
  color: #fff;
  margin: 0;
  font-weight: 500;
  transition: color .4s ease;
  z-index: 2;
}

/* Body · flota entre icono y título con espacio reservado siempre.
   No cambia el layout, solo opacity + translate. */
.svc-card-body {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: calc(40px + 46px); /* 40px del title bottom + ~46px alto title + gap */
  max-width: 460px;
  max-height: calc(100% - 200px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .45s cubic-bezier(.22,.61,.36,1),
    transform .45s cubic-bezier(.22,.61,.36,1);
  transition-delay: 0s; /* al colapsar: fade-out inmediato */
  pointer-events: none;
  z-index: 1;
}

.svc-card-divider {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold-500);
  margin: 0 0 16px;
}

.svc-card-body p {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* Active state · solo cambia flex-grow + background y muestra body.
   Título/icono/num quedan quietos en sus posiciones absolute. */
.svc-card.is-active {
  flex-grow: 5;
  background: rgba(255,255,255,.035);
}
.svc-card.is-active .svc-card-body {
  opacity: 1;
  transform: translateY(0);
  /* Delay largo: espera que la card se expanda por completo (flex-grow .85s)
     antes de que la descripción entre. Al colapsar, este delay no se aplica
     porque la regla no está activa → salida inmediata. */
  transition-delay: .7s;
  pointer-events: auto;
}

/* Hover peek on collapsed cards — muy sutil, sin animación de layout */
@media (hover: hover) {
  .svc-card:not(.is-active):hover {
    background: rgba(255,255,255,.02);
  }
  .svc-card:not(.is-active):hover .svc-card-title { color: rgba(255,255,255,.95); }
}
.svc-card:not(.is-active) .svc-card-title { color: rgba(255,255,255,.85); }

.link-inline.invert {
  color: rgba(255,255,255,.85);
}
.link-inline.invert:hover { color: var(--gold-400); }

/* Mobile · stack vertical, cards en accordion */
@media (max-width: 900px) {
  .services-dark { padding: 100px 0 120px; }
  .services-dark-head { margin-bottom: 44px; }
  .svc-strip {
    display: block;
    height: auto;
    overflow: visible;
  }
  .svc-card {
    display: flex;
    flex-direction: column;
    position: relative;
    height: auto;
    min-height: 92px;
    padding: 24px 22px 24px 78px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.09);
    transition: background .5s ease;
  }
  .svc-card:first-child { border-top: 0; }
  .svc-card:last-child { border-bottom: 1px solid rgba(255,255,255,.09); }
  .svc-card-icon {
    top: 26px;
    left: 22px;
    width: 32px;
    height: 32px;
  }
  .svc-card-title {
    position: static;
    order: 1;
    font-size: 19px;
    white-space: normal;
    padding-right: 12px;
  }
  /* En mobile el body sí colapsa altura (accordion) */
  .svc-card-body {
    position: static;
    order: 2;
    max-width: 100%;
    max-height: 0;
    margin-top: 0;
    padding-right: 32px;
    opacity: 0;
    transform: none;
    transition:
      max-height .55s cubic-bezier(.22,.61,.36,1),
      opacity .3s ease,
      margin-top .35s ease;
    transition-delay: 0s;
  }
  .svc-card.is-active {
    flex-grow: 0;
    background: rgba(255,255,255,.04);
  }
  .svc-card.is-active .svc-card-body {
    max-height: 220px;
    opacity: 1;
    margin-top: 14px;
    transition-delay: .1s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-card,
  .svc-card-body,
  .svc-card-icon,
  .svc-card-title { transition: none; }
}

/* ============================================================
   PROPERTIES v2 (HOME) · cards foto completa con overlay glass
   ============================================================ */
.props-grid-cover {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1000px) {
  .props-grid-cover { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .props-grid-cover { grid-template-columns: 1fr; gap: 16px; }
}

/* Card `.prop-cover` — SOLO dentro del grid de catálogo/home.
   Sin este scope colisiona con el `.prop-cover` del figure de la vista
   individual (propiedad.html) — que hereda opacity: 0 y queda invisible. */
.props-grid-cover .prop-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1a273f;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s cubic-bezier(.22,.61,.36,1),
    transform .7s cubic-bezier(.22,.61,.36,1),
    box-shadow .4s ease;
  transition-delay: var(--card-delay, 0ms);
}
.props-grid-cover .prop-cover.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.prop-cover-link {
  display: block;
  position: absolute;
  inset: 0;
  color: #fff;
  text-decoration: none;
}

.prop-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.22,.61,.36,1), filter .5s ease;
  will-change: transform;
}
.prop-cover-img-placeholder {
  background: linear-gradient(135deg, #253451 0%, #1a273f 100%);
}

/* Sombreado concentrado solo detrás del texto (~40% inferior).
   Arranca transparente hasta el 55%, después baja rápido a negro casi
   pleno, dejando la foto libre en la parte superior. */
.prop-cover-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(4, 6, 10, .78) 82%, rgba(4, 6, 10, .96) 100%);
  pointer-events: none;
  transition: background .4s ease;
}

/* Arrow button top-right · fondo navy translúcido, sin border. */
.prop-cover-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(33, 48, 77, .45);
  border: 0;
  color: #fff;
  z-index: 3;
  transition:
    background .35s ease,
    color .35s ease,
    transform .5s cubic-bezier(.22,.61,.36,1);
}
.prop-cover-arrow svg { width: 18px; height: 18px; display: block; }

/* Overlay inferior · info directa sobre el gradiente, con el tag arriba. */
.prop-cover-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  z-index: 2;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}

/* Tag ahora vive arriba del texto en el overlay, no en la esquina. */
.prop-cover-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--gold-400);
  letter-spacing: .04em;
  text-transform: none;
}
.prop-cover-tag::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--gold-500);
}

.prop-cover-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.prop-cover-title {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.15;
  color: #fff;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prop-cover-loc {
  font-family: var(--sans);
  font-size: 12.5px;
  color: rgba(255,255,255,.78);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prop-cover-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--gold-400);
  white-space: nowrap;
  align-self: flex-end;
  line-height: 1;
}
.prop-cover-price-currency {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--gold-400);
  opacity: .82;
}
.prop-cover-price-amount {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: var(--gold-400);
}
@media (max-width: 620px) {
  .prop-cover-price-amount { font-size: 24px; }
}

/* Hover · desktop */
@media (hover: hover) {
  .prop-cover:hover { box-shadow: 0 30px 60px rgba(0,0,0,.32); }
  .prop-cover:hover .prop-cover-img { transform: scale(1.06); }
  .prop-cover:hover .prop-cover-arrow {
    background: var(--gold-500);
    color: var(--navy-900);
    transform: translate(2px, -2px) scale(1.05);
  }
  .prop-cover:hover .prop-cover-link::after {
    background: linear-gradient(180deg, transparent 48%, rgba(4, 6, 10, .82) 78%, rgba(4, 6, 10, 1) 100%);
  }
}

/* Skeleton */
.prop-cover.is-skeleton {
  opacity: 1;
  transform: none;
  pointer-events: none;
}
.prop-cover.is-skeleton .sk-image {
  position: absolute;
  inset: 0;
}

@media (max-width: 620px) {
  .prop-cover { aspect-ratio: 4 / 4.6; }
  .prop-cover-arrow { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .prop-cover,
  .prop-cover-img,
  .prop-cover-arrow,
  .prop-cover-overlay,
  .prop-cover-link::after { transition: none; }
}

/* ============================================================
   FOOTER · simple minimalista
   Logo a la izquierda + iconos de redes a la derecha
   Copyright y crédito abajo separados por hairline
   ============================================================ */
.footer-min {
  background: var(--navy-900);
  color: rgba(255,255,255,.78);
  padding: 46px 0 28px;
}

.footer-min-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.footer-min-logo {
  display: inline-block;
  transition: opacity .3s ease;
}
.footer-min-logo:hover { opacity: .82; }
.footer-min-logo-mark {
  display: block;
  width: 168px;
  height: calc(168px / 2.82);
  color: #fff;
  background: currentColor;
  -webkit-mask: url('logo-lz-isologotipo.svg') center/contain no-repeat;
          mask: url('logo-lz-isologotipo.svg') center/contain no-repeat;
}

.footer-min-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}
.footer-min-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.78);
  transition:
    color .3s ease,
    border-color .3s ease,
    background .3s ease,
    transform .35s cubic-bezier(.22,.61,.36,1);
}
.footer-min-social a svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-min-social a:hover {
  color: var(--navy-900);
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: translateY(-2px);
}

.footer-min-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,.44);
}
.footer-min-bottom a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color .3s ease;
}
.footer-min-bottom a:hover { color: var(--gold-400); }

@media (max-width: 620px) {
  .footer-min { padding: 36px 0 22px; }
  .footer-min-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-bottom: 24px;
  }
  .footer-min-logo-mark { width: 148px; height: calc(148px / 2.82); }
}

/* Line breaks mobile-only en el H1 (visible ≤720px, oculto en desktop) */
.br-mobile { display: none; }

/* ============================================================
   HEADER (nav + hero) · MOBILE (≤720px)
   Layout más vertical, logo prominente, sin CTA en la barra,
   H1 apretado con la firma en gold, scroll hint prominente.
   ============================================================ */
@media (max-width: 720px) {
  .br-mobile { display: inline; }

  /* Más aire arriba del logo en la barra fija */
  .nav { padding: 34px 0 22px; }
  .nav.scrolled { padding: 18px 0 14px; }
  body.has-solid-nav .nav { padding: 18px 0 14px; }

  /* Nav bar: solo logo (izq) + burger (der). CTA vive en el menú overlay. */
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  .nav-inner > nav { flex: 0 0 auto; }

  .logo-wordmark-mark { width: 210px; }
  .nav.scrolled .logo-wordmark-mark,
  body.has-solid-nav .logo-wordmark-mark { width: 180px; }

  /* Hero mobile: alto, con presencia */
  .hero {
    min-height: 100dvh;
    min-height: 100vh;
    padding: 130px 0 90px;
  }

  /* Fondo mobile: la imagen es 2400x1333 (landscape) y el logo LZ tallado
     vive en la mitad derecha. En mobile portrait, cover centrado corta
     hacia el medio de la imagen. Empujamos el bg-position hacia la
     derecha para que se vea el logo tallado como en la referencia. */
  .hero-bg-inner { background-position: 68% center; }

  .hero-content { max-width: 100%; }

  .hero h1 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 20px 0 22px;
  }
  .hero .lead {
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 34ch;
  }
  /* H2 grandes de los bloques intro/valores/servicios → más chicos en mobile */
  .nosotros-intro-copy .h2,
  .nosotros-values-head .h2,
  .nosotros-recognitions-head .h2,
  .nosotros-laura-copy .h2,
  .rec-slideshow-side .h2,
  .contact-form-wrap .h2,
  .properties-head .h2,
  .about-content .h2 {
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.15;
  }

  /* Scroll hint prominente al pie del hero */
  .hero-scroll {
    bottom: 32px;
    left: var(--gutter);
    width: 32px;
    height: 46px;
  }
  .hero-scroll svg { width: 24px; height: 24px; }
}

/* Extra tightening on very narrow screens */
@media (max-width: 400px) {
  .logo-wordmark-mark { width: 190px; }
  .hero h1 { font-size: clamp(30px, 9.5vw, 40px); }
}

/* ============================================================
   HERO INNER · páginas internas (propiedades, sobre-nosotros…)
   Notablemente más bajo que el hero principal del Home (jerarquía).
   Mantiene el fondo con parallax y la flecha animada.
   ============================================================ */
.hero.hero-inner {
  min-height: 0;
  padding: 160px 0 70px;
}
.hero.hero-inner h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  margin: 14px 0 18px;
}
.hero.hero-inner .lead {
  font-size: 15px;
  max-width: 52ch;
}

/* Fondo desktop del hero interno · aseguramos ver el LZ tallado */
.hero.hero-inner .hero-bg-inner {
  inset: -3% -2%;
  background-position: center 42%;
}

/* Flecha del scroll: alineada a la derecha en hero interno (desktop).
   En mobile queda a la izquierda como en el hero principal. */
.hero.hero-inner .hero-scroll {
  bottom: 26px;
  left: auto;
  right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
}

@media (max-width: 720px) {
  .hero.hero-inner {
    min-height: 0;
    padding: 120px 0 70px;
  }
  .hero.hero-inner .hero-bg-inner {
    background-position: 68% center;
  }
  .hero.hero-inner .hero-scroll {
    left: var(--gutter);
    right: auto;
  }
}

/* ============================================================
   NOSOTROS · intro / manifiesto
   Foto con reveal scroll-driven (clip-path + scale suave).
   ============================================================ */
.nosotros-intro {
  background: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
}
.nosotros-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 88px;
  align-items: center;
}
.nosotros-intro-copy > * + * { margin-top: 28px; }
.nosotros-intro-copy .h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  color: var(--navy-900);
  font-weight: 500;
}
.nosotros-intro-copy .h2 em {
  color: var(--gold-500);
  font-style: normal;
  font-weight: 500;
}
.nosotros-intro-body p {
  color: var(--ink-700);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.nosotros-intro-body p:last-child { margin-bottom: 0; }

/* Imagen · reveal WOW scroll-driven.
   Estado base: clipada a un rectángulo central (visible pero pequeño) +
   la imagen interna escalada 1.2. Cuando .in se activa, el clip se
   expande a full y la imagen interna vuelve a scale(1) durante 2.2s
   con easing lento — sensación de "cámara acercándose hasta encuadrar". */
.nosotros-intro-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-900);
  margin: 0;
  clip-path: inset(25% 18% 25% 18%);
  transition: clip-path 1.6s cubic-bezier(.7,0,.24,1);
  will-change: clip-path;
}
.nosotros-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.2);
  transition: transform 2.2s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.nosotros-intro-image.in {
  clip-path: inset(0 0 0 0);
}
.nosotros-intro-image.in img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .nosotros-intro-image { clip-path: none; transition: none; }
  .nosotros-intro-image img { transform: none; transition: none; }
}

@media (max-width: 900px) {
  .nosotros-intro-grid { grid-template-columns: 1fr; gap: 50px; }
  .nosotros-intro-image { aspect-ratio: 4 / 3; }
}

/* ============================================================
   NOSOTROS · valores / principios · hover-reveal style
   Icono + título siempre visibles. Al hover aparece la descripción
   (opacidad + slide up), estilo strip de Servicios del Home.
   ============================================================ */
.nosotros-values {
  background: #F5F3F0;
  padding: clamp(80px, 10vw, 130px) 0;
}
.nosotros-values-head {
  max-width: 720px;
  margin-bottom: 64px;
  display: grid;
  gap: 20px;
}
.nosotros-values-head .h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  color: var(--navy-900);
  font-weight: 500;
}

.nosotros-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.nosotros-value {
  background: #fff;
  padding: 32px 28px 32px;
  position: relative;
  height: 280px;
  border: 1px solid rgba(15, 29, 51, .08);
  overflow: hidden;
  transition: box-shadow .35s ease, background .35s ease;
  cursor: default;
}
@media (hover: hover) {
  .nosotros-value:hover {
    box-shadow: 0 24px 40px rgba(15, 29, 51, .08);
  }
}

/* Icono top-left (siempre visible) · gold sin recuadro */
.nosotros-value-icon {
  display: block;
  width: 38px;
  height: 38px;
  color: var(--gold-500);
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.nosotros-value-icon svg { width: 100%; height: 100%; stroke-width: 1.3; }

/* Título bottom-left (siempre visible, sube al hover para dejar sitio) */
.nosotros-value h3 {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 32px;
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy-900);
  font-weight: 500;
  line-height: 1.1;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), color .35s ease;
  z-index: 2;
}

/* Descripción: fuera de flujo, aparece al hover encima del título */
.nosotros-value p {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 88px;
  margin: 0;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .45s cubic-bezier(.22,.61,.36,1),
    transform .45s cubic-bezier(.22,.61,.36,1);
  transition-delay: 0s; /* fade-out inmediato al salir del hover */
}

/* Hover state — sólo en dispositivos con hover real (desktop).
   En mobile las cards funcionan como accordion tap; sin este guard el
   sticky-hover del mobile disparaba estilos desktop y tapaba contenido. */
@media (hover: hover) {
  .nosotros-value:hover .nosotros-value-icon { transform: scale(1.08); }
  .nosotros-value:hover h3 { transform: translateY(-6px); }
  .nosotros-value:hover p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .1s;
  }
}

@media (max-width: 900px) {
  .nosotros-values-grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros-value { height: 240px; padding: 24px 22px; }
  .nosotros-value h3 { left: 22px; right: 22px; bottom: 24px; font-size: 22px; }
  .nosotros-value p { left: 22px; right: 22px; bottom: 78px; }
}
@media (max-width: 560px) {
  /* Grid → apilado como en el Home Servicios (block, sin gap) */
  .nosotros-values-grid,
  .servicios-grid {
    display: block;
  }

  /* Cards mobile · idéntico patrón que .svc-card mobile del Home:
     - Sin caja individual (background/border reset)
     - Border-top hairline entre cards
     - Icono top-left position absolute
     - Título + body en flex column con order
     - Body colapsa max-height 0 → 220px al is-active */
  .nosotros-value,
  .servicios-grid .nosotros-value {
    display: flex;
    flex-direction: column;
    position: relative;
    height: auto;
    min-height: 74px;
    padding: 24px 22px 24px 78px;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(15, 29, 51, .12);
    overflow: visible;
    box-shadow: none;
    cursor: pointer;
    transition: background .5s ease;
  }
  .nosotros-value:first-child,
  .servicios-grid .nosotros-value:first-child { border-top: 0; }
  .nosotros-value:last-child,
  .servicios-grid .nosotros-value:last-child { border-bottom: 1px solid rgba(15, 29, 51, .12); }

  .nosotros-value-icon {
    position: absolute;
    top: 26px;
    left: 22px;
    width: 32px;
    height: 32px;
    transform: none;
  }

  .nosotros-value h3 {
    position: static;
    order: 1;
    margin: 0;
    padding-right: 12px;
    font-size: 19px;
    line-height: 1.2;
    transform: none;
  }

  .nosotros-value p,
  .servicios-grid .nosotros-value p {
    position: static;
    order: 2;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: 100%;
    max-height: 0;
    margin-top: 0;
    padding-right: 32px;
    opacity: 0;
    overflow: hidden;
    transform: none;
    transition:
      max-height .55s cubic-bezier(.22,.61,.36,1),
      opacity .3s ease,
      margin-top .35s ease;
    transition-delay: 0s;
  }
  .nosotros-value.is-active {
    background: rgba(15, 29, 51, .04);
  }
  .nosotros-value.is-active p {
    max-height: 240px;
    opacity: 1;
    margin-top: 14px;
    transition-delay: .1s;
  }
}

/* ============================================================
   NOSOTROS · Laura Zucheli (fundadora) + reconocimientos
   ============================================================ */
.nosotros-laura {
  background: #fff;
  padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
}
.nosotros-laura-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.nosotros-laura-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f2ecdd;
}
.nosotros-laura-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 20%;
  display: block;
  filter: saturate(1);
}

.nosotros-laura-copy > * + * { margin-top: 18px; }
.nosotros-laura-copy .h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--navy-900);
  font-weight: 500;
  letter-spacing: -.015em;
}
.nosotros-laura-role {
  margin: 0;
  font-family: var(--serif);
  color: var(--gold-500);
  font-size: 19px;
  font-weight: 500;
}
.nosotros-laura-bio p {
  margin: 0 0 12px;
  color: var(--ink-700);
  font-size: 15.5px;
  line-height: 1.7;
}
.nosotros-laura-bio p:last-child { margin-bottom: 0; }

/* Laura · animación de entrada premium.
   Estado base: clip-path deja un rectángulo lateral visible (fallback
   seguro si el observer aún no disparó). Al recibir .in expande a full,
   con un pequeño slide desde la izquierda y zoom de la imagen interna. */
.nosotros-laura-image {
  margin: 0;
  clip-path: inset(12% 45% 12% 0);
  transform: translate3d(-14px, 0, 0);
  transition:
    clip-path 1.4s cubic-bezier(.7,0,.24,1),
    transform 1.4s cubic-bezier(.22,.61,.36,1);
  will-change: clip-path, transform;
}
.nosotros-laura-image img {
  transform: scale(1.18);
  transition: transform 2.2s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.nosotros-laura-image.in {
  clip-path: inset(0 0 0 0);
  transform: none;
}
.nosotros-laura-image.in img { transform: scale(1); }

/* Texto: cada child con animación editorialRise (definida en HOME cascade) */
.nosotros-laura-copy > * {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition:
    opacity 1s cubic-bezier(.19,1,.22,1),
    transform 1s cubic-bezier(.19,1,.22,1),
    filter 1s cubic-bezier(.19,1,.22,1);
  will-change: opacity, transform, filter;
}
.nosotros-laura-copy.in > *          { opacity: 1; transform: translateY(0); filter: blur(0); }
.nosotros-laura-copy.in > *:nth-child(1) { transition-delay: .15s; }
.nosotros-laura-copy.in > *:nth-child(2) { transition-delay: .35s; }
.nosotros-laura-copy.in > *:nth-child(3) { transition-delay: .55s; }
.nosotros-laura-copy.in > *:nth-child(4) { transition-delay: .75s; }

@media (prefers-reduced-motion: reduce) {
  .nosotros-laura-image { clip-path: none; transition: none; }
  .nosotros-laura-image img { transform: none; transition: none; }
  .nosotros-laura-copy > * { opacity: 1; transform: none; filter: none; transition: none; }
}

@media (max-width: 900px) {
  .nosotros-laura-inner { grid-template-columns: 1fr; gap: 44px; }
  .nosotros-laura-image { aspect-ratio: 1 / 1; }
}

/* ============================================================
   RECONOCIMIENTOS · slideshow sticky con scroll
   Layout 2-col: izquierda sticky (título + counter + progress),
   derecha stack de 6 cards. La card visible activa se marca
   vía IntersectionObserver desde JS y actualiza el contador.
   ============================================================ */
.rec-slideshow {
  background: #fff;
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 130px);
}

.rec-slideshow-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.rec-slideshow-side {
  position: sticky;
  top: 20vh;
  display: grid;
  gap: 24px;
  align-self: start;
}
.rec-slideshow-side .h2 {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  color: var(--navy-900);
  font-weight: 500;
}
.rec-slideshow-side .h2 em {
  color: var(--gold-500);
  font-style: normal;
  font-weight: 500;
}

.rec-progress {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 8px;
}
.rec-progress-track {
  flex: 1 1 auto;
  height: 2px;
  background: rgba(15, 29, 51, .12);
  position: relative;
  overflow: hidden;
}
.rec-progress-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 16.66%;   /* 1/6 · JS lo actualiza */
  background: var(--gold-500);
  transition: width .5s cubic-bezier(.22,.61,.36,1);
}

/* Cards stack: cada una ocupa aproximadamente el viewport-70% */
.rec-slideshow-cards {
  display: grid;
  gap: 20vh;
  padding: 20vh 0;
}
.rec-card {
  position: relative;
  padding: 44px 0 44px 32px;
  border-left: 1px solid rgba(15, 29, 51, .12);
  opacity: .3;
  transform: translateY(30px);
  transition:
    opacity .8s cubic-bezier(.22,.61,.36,1),
    transform .8s cubic-bezier(.22,.61,.36,1),
    border-left-color .5s ease;
}
.rec-card.is-in-view {
  opacity: 1;
  transform: translateY(0);
  border-left-color: var(--gold-500);
}
.rec-card::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 44px;
  width: 9px;
  height: 9px;
  background: rgba(15, 29, 51, .18);
  border-radius: 50%;
  transition: background .35s ease, transform .35s ease;
}
.rec-card.is-in-view::before {
  background: var(--gold-500);
  transform: scale(1.3);
}

.rec-card-role {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  color: var(--navy-900);
  font-weight: 500;
  letter-spacing: -.01em;
}
.rec-card-org {
  margin: 0;
  color: var(--ink-500);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  max-width: 46ch;
}

@media (max-width: 900px) {
  .rec-slideshow-grid { grid-template-columns: 1fr; gap: 40px; }
  .rec-slideshow-side { position: static; top: auto; }
  /* Mobile: mantenemos el "reveal por scroll". Solo la card cerca del
     centro del viewport queda iluminada (opacity 1 + border gold via
     .is-in-view del IntersectionObserver). Así el bloque no se ve
     cargado de texto todo de una vez. */
  .rec-slideshow-cards { gap: 14vh; padding: 6vh 0; }
  .rec-card {
    padding: 24px 0 24px 22px;
    opacity: .18;
    transform: translateY(20px);
  }
  .rec-card.is-in-view {
    opacity: 1;
    transform: translateY(0);
  }
  .rec-card-role { font-size: clamp(24px, 6vw, 34px); }
}

@media (prefers-reduced-motion: reduce) {
  .rec-card, .rec-card::before, .rec-progress-fill { transition: none; }
}

/* ============================================================
   NOSOTROS · hero
   Más alto que el hero interno estándar para dejar respirar la
   marca del isologo LZ tallado en el fondo.
   ============================================================ */
.hero-nosotros {
  padding: 200px 0 130px !important;
}
.hero-nosotros .hero-bg-inner {
  inset: -3% 0;
  background-position: 82% 45%;
}
@media (max-width: 720px) {
  .hero-nosotros {
    padding: 140px 0 90px !important;
  }
  .hero-nosotros .hero-bg-inner {
    background-position: 68% center;
  }
}

/* ============================================================
   SERVICIOS · hero override + overrides de la grid de servicios
   Reutiliza .nosotros-intro, .nosotros-value y .rec-slideshow.
   ============================================================ */
.hero-servicios {
  padding: 200px 0 130px !important;
}
.hero-servicios .hero-bg-inner {
  inset: -3% 0;
  background-position: 40% 45%;
}
@media (max-width: 720px) {
  .hero-servicios {
    padding: 140px 0 90px !important;
  }
  .hero-servicios .hero-bg-inner {
    background-position: 55% center;
  }
}

/* Grid de 5 cards de servicios */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .servicios-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .servicios-grid { grid-template-columns: 1fr; }
}

/* Cards de servicios: más altas para que las descripciones (más largas
   que las de Nosotros/Valores) tengan lugar completo al hover. */
.servicios-grid .nosotros-value { height: 360px; }
.servicios-grid .nosotros-value p { bottom: 108px; }
@media (max-width: 900px) {
  .servicios-grid .nosotros-value { height: 300px; }
  .servicios-grid .nosotros-value p { bottom: 92px; }
}
/* En ≤560px las cards de servicios adoptan exactamente el mismo patrón
   accordion que las de Nosotros. Este reset viene AL FINAL en el archivo
   para ganarle la cascada a las reglas de height/bottom de arriba. */
@media (max-width: 560px) {
  .servicios-grid .nosotros-value {
    height: auto;
    padding: 24px 22px 24px 78px;
  }
  .servicios-grid .nosotros-value p {
    bottom: auto;
    max-height: 0;
  }
  .servicios-grid .nosotros-value.is-active p {
    max-height: 320px;
  }
}

/* Método: lead + label de cada step */
.servicios-method-lead {
  color: var(--ink-500);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  margin: 6px 0 0;
  max-width: 34ch;
}

/* En cada card de método, sumo un label pequeño "01 / Paso uno" arriba */
.servicios-step-num {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gold-500);
  letter-spacing: .06em;
  margin-bottom: 16px;
  font-weight: 500;
}

