/* =========================================================
   AP Invest Real Estate · Maqueta portada
   Paleta: grafito, plata, perla, arena de marès y azul mar
   ========================================================= */
:root {
  --ink: #131619;
  --charcoal: #1f2327;
  --graphite: #2e3338;
  --steel: #6d737a;
  --silver: #b4b9bf;
  --platinum: #e3e5e8;
  --pearl: #f6f4f0;
  --white: #ffffff;
  --sand: #c9b593;
  --sea: #2b5a6d;
  --text: #2a2e33;
  --muted: #6d737a;

  --silver-grad: linear-gradient(120deg, #8d9298 0%, #eceef0 38%, #a7acb2 55%, #f5f6f7 75%, #979ca2 100%);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 2px;
  --shadow: 0 30px 60px -30px rgba(19, 22, 25, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pearl);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }
p { margin: 0 0 1.1em; }

.container { width: min(1320px, 100% - 64px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

/* Título oculto a la vista pero legible por Google (bueno para SEO) */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Tipografía común ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 18px; font-weight: 400;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--platinum); }

.title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 4.6vw, 64px); line-height: 1.05; color: var(--ink);
  margin-bottom: 28px; letter-spacing: -.01em;
}
.title em, .hero__title em { font-style: italic; color: var(--steel); }
.title--light { color: var(--white); }
.title--light em { color: var(--silver); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head__lead { color: var(--muted); font-size: 18px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 18px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border: 1px solid transparent; border-radius: var(--radius);
  font: 400 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  cursor: pointer; transition: all .45s var(--ease); white-space: nowrap;
}
.btn--silver { background: var(--silver-grad); background-size: 200% 100%; color: var(--ink); }
.btn--silver:hover { background-position: 100% 0; box-shadow: 0 10px 30px -10px rgba(255,255,255,.5); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--graphite); }
.btn--outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 18px; font-size: 11px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px; font-size: 12px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
}
.link-arrow::after { content: ""; width: 44px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.link-arrow:hover::after { width: 70px; }

/* ---------- Cabecera ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background .5s var(--ease), color .5s, box-shadow .5s; }
.topbar { border-bottom: 1px solid rgba(255,255,255,.12); font-size: 13px; letter-spacing: .05em; transition: all .4s var(--ease); max-height: 42px; overflow: hidden; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar__contact { display: flex; align-items: center; gap: 14px; opacity: .85; }
.topbar__contact a:hover { opacity: .7; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.lang { display: flex; gap: 4px; }
.lang a { padding: 2px 8px; opacity: .6; letter-spacing: .15em; font-size: 12px; transition: opacity .3s; }
.lang a.is-active, .lang a:hover { opacity: 1; }
.lang a.is-active { border-bottom: 1px solid currentColor; }

.nav { display: flex; align-items: center; gap: 40px; height: 92px; transition: height .4s var(--ease); }
/* Logo vertical: icono oficial (casa + edificios) en plata, nombre y "Real Estate" debajo */
.logo { --w: 44px; --fs: 15px; display: inline-flex; flex-direction: column; align-items: center; line-height: 1; --metal: var(--silver-grad); }
.logo__icon {
  /* Icono del logo original de AP Invest (edificios, tejados y ola) */
  width: calc(var(--w) * 1.25); aspect-ratio: 1028 / 941;
  background: url('img/logo-icono-plata.png') center / contain no-repeat;
  transition: width .4s var(--ease);
}
.logo__name {
  font-family: "Cinzel", var(--serif); font-weight: 600; font-size: var(--fs); letter-spacing: .08em; margin-top: calc(var(--fs) * .3);
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap;
  transition: font-size .4s var(--ease);
}
.logo__sub {
  display: flex; align-items: center; gap: .6em; font-family: var(--sans); font-size: calc(var(--fs) * .5); letter-spacing: .3em;
  text-transform: uppercase; margin-top: calc(var(--fs) * .3); color: var(--silver); white-space: nowrap;
}
.logo__sub::before, .logo__sub::after { content: ""; width: 1.6em; height: 1px; background: currentColor; opacity: .8; }
.logo--footer { --w: 74px; --fs: 24px; }
.logo--intro { --w: 150px; --fs: 46px; }

.menu { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.menu > a, .menu__item > a { position: relative; display: block; padding: 34px 0; }
.menu > a::after, .menu__item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 26px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.menu > a:hover::after, .menu__item:hover > a::after { transform: scaleX(1); transform-origin: left; }

.mega {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, 12px);
  width: min(1100px, 100vw - 64px); background: var(--white); color: var(--text);
  display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 40px; padding: 44px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all .4s var(--ease);
  text-transform: none; letter-spacing: 0;
}
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__col h4 { font: 400 11px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.mega__col a { display: block; font-size: 16px; padding: 5px 0; transition: color .3s, padding .3s; }
.mega__col a:hover { color: var(--sea); padding-left: 6px; }
.mega__feature {
  position: relative; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: var(--white); background: linear-gradient(transparent 30%, rgba(0,0,0,.65)), var(--img) center/cover;
}
.mega__feature strong { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.15; }
.mega__feature .eyebrow { color: var(--platinum); margin-bottom: 8px; }

.nav__cta { padding: 14px 22px; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; color: inherit; }
.burger span { display: block; height: 1px; background: currentColor; margin: 8px 4px; transition: .4s var(--ease); }

/* Cabecera al hacer scroll */
.header.is-scrolled { background: rgba(246, 244, 240, .94); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.header.is-scrolled .topbar { max-height: 0; border-color: transparent; }
.header.is-scrolled .nav { height: 76px; }
.header.is-scrolled .logo { --metal: linear-gradient(120deg, #25292d 0%, #6f757c 45%, #2e3338 70%, #8a9096 100%); --w: 36px; --fs: 13px; }
.header.is-scrolled .logo__sub { color: var(--steel); }
.header.is-scrolled .nav__cta { background: var(--ink); color: var(--white); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px;
  font-family: var(--serif); font-size: 32px; opacity: 0; visibility: hidden; transition: .5s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.lang--big a { font-family: var(--sans); font-size: 14px; }
.lang--nav { flex-shrink: 0; }
@media (max-width: 1240px) { .lang--nav { margin-left: auto; } .lang--nav + .burger { margin-left: 10px; } }
@media (max-width: 360px) { .lang--nav a { padding: 2px 5px; letter-spacing: .08em; } }
body.menu-open .header { color: var(--white); background: transparent; box-shadow: none; }
body.menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1360px) { .nav { gap: 28px; } .menu { gap: 24px; letter-spacing: .12em; } }
@media (max-width: 1240px) {
  .menu, .nav__cta { display: none; }
  .burger { display: block; margin-left: auto; }
}
@media (max-width: 760px) {
  .topbar__contact a:not(:first-child), .topbar__contact .dot { display: none; }
  .nav { height: 80px; }
  .logo { --w: 38px; --fs: 13px; }
}

/* ---------- Intro con el logo ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center;
  transition: opacity .9s var(--ease) .1s, visibility .9s;
}
.intro .logo { animation: introIn 1.4s var(--ease) both; }
.intro .logo__icon, .intro .logo__name { background-size: 250% 100%; animation: shimmer 2.2s ease-in-out .3s both; }
@keyframes introIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.intro.is-done { opacity: 0; visibility: hidden; }
.intro.is-skipped { display: none; }

/* ---------- Colección privada ---------- */
.private { background: var(--graphite); color: var(--white); padding: 70px 0; }
.private__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 50px; align-items: center; }
.private__icon {
  width: 110px; aspect-ratio: 1028 / 941; background: url('img/logo-icono-plata.png') center / contain no-repeat;
  opacity: .95;
}
.private h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.private p:not(.eyebrow) { color: var(--silver); max-width: 640px; margin: 0; }
@media (max-width: 860px) { .private__inner { grid-template-columns: 1fr; gap: 26px; } }

/* Pie de foto discreto en imágenes reales */
figure { margin: 0; }
.welcome__img figcaption {
  position: absolute; left: 0; bottom: 0; padding: 6px 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); background: linear-gradient(90deg, rgba(0,0,0,.55), transparent);
}
.welcome__img--b figcaption { left: auto; right: 0; background: linear-gradient(270deg, rgba(0,0,0,.55), transparent); }
.zones .zone > .zone__credit { position: absolute; top: 16px; right: 18px; left: auto; max-width: 70%; text-align: right; line-height: 1.4; z-index: 2; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.price s { font-size: .55em; opacity: .6; margin-right: 10px; }
.card__price-old { font-size: 14px; color: var(--steel); text-decoration: line-through; margin-right: 8px; }
.credits { padding: 18px 0; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.credits summary { cursor: pointer; letter-spacing: .18em; text-transform: uppercase; font-size: 11px; }
.credits p { margin: 12px 0 0; line-height: 1.8; color: var(--steel); }

/* ---------- Portada con vídeo ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--ink); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 30s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.16); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,14,.55) 0%, rgba(10,12,14,.15) 35%, rgba(10,12,14,.25) 60%, rgba(10,12,14,.8) 100%),
    radial-gradient(ellipse at 20% 60%, rgba(10,12,14,.45), transparent 60%);
}
.hero__content { position: relative; padding-top: 150px; padding-bottom: 120px; }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 8vw, 118px); line-height: .95; letter-spacing: -.02em; margin-bottom: 30px; }
.hero__title span { display: block; }
.hero__title em { color: var(--platinum); display: block; padding-left: .8em; }
.hero__lead { max-width: 540px; font-size: 19px; color: rgba(255,255,255,.85); margin-bottom: 48px; }

.search {
  display: grid; grid-template-columns: repeat(3, 1fr) .8fr auto; max-width: 1080px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.22);
}
.search__field { display: flex; flex-direction: column; padding: 16px 22px; border-right: 1px solid rgba(255,255,255,.18); }
.search__field span { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .75; margin-bottom: 4px; }
.search select, .search input {
  background: transparent; border: 0; color: var(--white); font: 400 16px var(--sans); padding: 2px 0; outline: none; appearance: none; cursor: pointer;
}
.search select option { color: var(--ink); }
.search input::placeholder { color: rgba(255,255,255,.55); }
.search__btn { margin: 8px; padding-inline: 34px; background: var(--white); color: var(--ink); }
.search__btn:hover { background: var(--silver); }
@media (max-width: 980px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search__field { border-bottom: 1px solid rgba(255,255,255,.18); }
  .search__btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .search__field { padding: 12px 16px; }
  .search__field--ref { display: none; }
  .search__field:nth-child(3) { grid-column: 1 / -1; border-right: 0; }
  .hero__lead { font-size: 16px; margin-bottom: 32px; }
  .hero__title em { padding-left: 0; }
  .hero .eyebrow { letter-spacing: .2em; font-size: 11px; }
}

.hero__caption { position: absolute; right: 120px; bottom: 46px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .8; display: flex; align-items: center; gap: 10px; }
.hero__pin { width: 8px; height: 8px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: pulse 2.4s infinite; }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; width: 26px; height: 44px; border: 1px solid rgba(255,255,255,.6); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 2px; height: 8px; background: var(--white); transform: translateX(-50%); animation: scrollDot 2s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (max-width: 760px) { .hero__caption { display: none; } .hero__content { padding-top: 130px; } }

/* ---------- Cifras ---------- */
.stats { background: var(--ink); color: var(--white); padding: 56px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 32px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  display: block; font-family: var(--serif); font-size: clamp(42px, 4.5vw, 62px); font-weight: 300; line-height: 1;
  background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px;
}
.stat strong small { font-size: .5em; vertical-align: super; }
.stat span { font-size: 14px; letter-spacing: .06em; color: var(--silver); }
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Bienvenida ---------- */
.welcome { padding: 150px 0; }
.welcome__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 110px; align-items: center; }
.welcome__media { position: relative; aspect-ratio: 1 / 1.08; }
.welcome__img { position: absolute; background: var(--img) center/cover; box-shadow: var(--shadow); }
.welcome__img--a { inset: 0 22% 18% 0; }
.welcome__img--b { inset: 46% 0 0 46%; border: 10px solid var(--pearl); }
.welcome__badge {
  position: absolute; left: -28px; bottom: 6%; background: var(--ink); color: var(--white);
  padding: 26px 30px; display: flex; flex-direction: column; gap: 2px; text-align: left;
}
.welcome__badge span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--silver); }
.welcome__badge strong { font-family: var(--serif); font-size: 34px; font-weight: 400; }
.welcome__text p { color: var(--muted); }
.welcome__sign { margin: 34px 0 30px; display: flex; flex-direction: column; }
.sign { font-family: var(--serif); font-style: italic; font-size: 38px; color: var(--ink); line-height: 1; }
.sign__role { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin-top: 8px; }
@media (max-width: 980px) {
  .welcome { padding: 100px 0; }
  .welcome__grid { grid-template-columns: 1fr; gap: 70px; }
  .welcome__badge { left: 0; }
}

/* ---------- Propiedad destacada (Ken Burns) ---------- */
.spotlight { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--ink); }
.spotlight__slides, .spotlight__slide { position: absolute; inset: 0; }
.spotlight__slide { background: var(--img) center/cover; opacity: 0; transform: scale(1.02); transition: opacity 1.6s var(--ease); }
.spotlight__slide.is-active { opacity: 1; animation: kenburns 9s linear forwards; }
.spotlight__slide:nth-child(even).is-active { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes kenburns2 { from { transform: scale(1.14) translate(1.5%, 0); } to { transform: scale(1.02) translate(0, 1%); } }
.spotlight__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,14,.75) 0%, rgba(10,12,14,.2) 55%, transparent), linear-gradient(0deg, rgba(10,12,14,.6), transparent 40%); }
.spotlight__inner { position: relative; padding: 140px 0 90px; }
.spotlight__card { max-width: 560px; }
.spotlight__card h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.05; margin-bottom: 12px; }
.spotlight__place { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--silver); }
.facts { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 0; }
.facts li { padding: 0 22px; border-left: 1px solid rgba(0,0,0,.12); font-size: 13px; color: var(--muted); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts li strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--ink); line-height: 1.1; }
.facts--light li { border-color: rgba(255,255,255,.2); color: var(--silver); }
@media (max-width: 520px) {
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
.facts--light li strong { color: var(--white); }
.spotlight__foot { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: 34px; color: var(--ink); }
.price--light { color: var(--white); font-size: 40px; }
.spotlight__progress { display: flex; gap: 10px; margin-top: 46px; }
.spotlight__progress span { position: relative; width: 60px; height: 2px; background: rgba(255,255,255,.25); overflow: hidden; cursor: pointer; }
.spotlight__progress span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.spotlight__progress span.is-active::after { animation: bar 6s linear forwards; }
.spotlight__progress span.is-done::after { transform: scaleX(1); }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- Selección exclusiva ---------- */
.showcase { padding: 140px 0 40px; }
.showcase__lead { max-width: 380px; margin: 0; }
.showcase__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 320px; gap: 18px; margin-top: 40px; }
.show-card { position: relative; overflow: hidden; color: var(--white); display: flex; align-items: flex-end; background: var(--ink); }
.show-card--1 { grid-column: span 7; grid-row: span 2; }
.show-card--2, .show-card--3 { grid-column: span 5; }
.show-card--4, .show-card--5 { grid-column: span 6; grid-row: span 1; }
.show-card__slides, .show-card__slide { position: absolute; inset: 0; }
.show-card__slide { background: var(--img) center/cover; opacity: 0; transform: scale(1.04); transition: opacity 1.6s var(--ease); }
.show-card__slide.is-active { opacity: 1; animation: kenburns 8s linear forwards; }
.show-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,14,16,0) 25%, rgba(12,14,16,.55) 55%, rgba(12,14,16,.9)); transition: background .6s; }
.show-card:not(.show-card--1)::after { background: linear-gradient(180deg, rgba(12,14,16,.08) 0%, rgba(12,14,16,.62) 38%, rgba(12,14,16,.93)); }
.show-card:hover::after { background: linear-gradient(180deg, rgba(12,14,16,.12) 15%, rgba(12,14,16,.6) 50%, rgba(12,14,16,.92)); }
.show-card__body { position: relative; z-index: 2; padding: 30px 32px; width: 100%; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.show-card__place { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--platinum); margin: 0 0 8px; }
.show-card__title { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 0 0 8px; }
.show-card--1 .show-card__title { font-size: clamp(34px, 3.4vw, 48px); }
.show-card__facts { font-size: 14px; color: var(--silver); margin: 0 0 16px; }
.show-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); }
.show-card__price { font-family: var(--serif); font-size: 30px; }
.show-card__price s { font-size: .55em; opacity: .6; margin-right: 10px; }
.show-card__cta { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.show-card__cta::after { content: ""; width: 30px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.show-card:hover .show-card__cta::after { width: 54px; }
@media (max-width: 980px) {
  .showcase__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 340px; }
  .show-card--1 { grid-column: span 2; grid-row: span 1; }
  .show-card--2, .show-card--3, .show-card--4, .show-card--5 { grid-column: span 1; }
  .show-card--5 { grid-column: span 2; }
}
@media (max-width: 600px) {
  .showcase__grid { grid-template-columns: 1fr; grid-auto-rows: 400px; }
  .show-card--1, .show-card--2, .show-card--3, .show-card--4, .show-card--5 { grid-column: span 1; }
  .show-card__body { padding: 22px; }
  .show-card__title { font-size: 26px; }
  .show-card__price { font-size: 26px; }
}

/* ---------- Carrusel de propiedades ---------- */
.props { padding: 140px 0 120px; overflow: hidden; }
.props__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.props__controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.circle-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); background: transparent;
  font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); transition: all .35s var(--ease);
}
.circle-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.props__track { display: flex; gap: 28px; overflow-x: auto; padding: 10px max(32px, calc((100vw - 1320px) / 2)) 30px; scrollbar-width: none; cursor: grab; user-select: none; }
.props__track::-webkit-scrollbar { display: none; }
.props__track.is-dragging { cursor: grabbing; }

.card { flex: 0 0 410px; background: var(--white); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card { position: relative; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.card__img { position: absolute; inset: 0; background: var(--img) center/cover; transition: transform 1.6s var(--ease), opacity .8s var(--ease); }
.card__img--2 { opacity: 0; }
.card:hover .card__img { transform: scale(1.08); }
.card:hover .card__img--2 { opacity: 1; }
.card__tags { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; z-index: 2; }
.tag { white-space: nowrap; background: rgba(255,255,255,.92); color: var(--ink); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; }
.tag--dark { background: var(--ink); color: var(--white); }
.tag--sold { background: var(--sand); color: var(--ink); }

/* Tarjetas según el estado de la propiedad: las no disponibles pierden algo de brillo */
.card--vendida .card__img, .card--reservada .card__img, .card--alquilada .card__img { filter: grayscale(0.4) brightness(.88); }
.card--vendida .price, .card--alquilada .price { color: var(--steel); }
.card--vendida .card__tags .tag--sold { background: #b23b3b; color: var(--white); letter-spacing: .18em; }
.card--reservada .card__tags .tag--sold { background: #c9933b; color: var(--ink); }
.card--alquilada .card__tags .tag--sold { background: #3f6e8a; color: var(--white); }
.show-card .show-card__slide { position: absolute; }
.card__fav { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; font-size: 17px; transition: transform .3s; }
.card__fav:hover { transform: scale(1.1); }
.card__fav.is-on { color: #b0413e; }
.card__body { padding: 26px 28px 28px; }
.card__place { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.card__title { font-family: var(--serif); font-size: 25px; line-height: 1.2; color: var(--ink); margin-bottom: 18px; min-height: 60px; }
.card__facts { display: flex; gap: 18px; font-size: 14px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--platinum); margin-bottom: 18px; }
.card__facts span { display: flex; align-items: center; gap: 6px; }
.card__foot { display: flex; justify-content: space-between; align-items: center; }
.card__foot .price { font-size: 28px; }
.card__ref { font-size: 12px; color: var(--steel); letter-spacing: .1em; }
@media (max-width: 520px) { .card { flex-basis: 84vw; } }

/* ---------- Zonas ---------- */
.zones { padding: 140px 0; background: var(--white); }
.zones__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 290px; gap: 16px; }
.zone { position: relative; overflow: hidden; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.zone:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.zone__img { position: absolute; inset: 0; background: var(--img) center/cover; transition: transform 1.8s var(--ease); }
.zone::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 35%, rgba(10,12,14,.78)); transition: background .6s; }
.zone:hover .zone__img { transform: scale(1.1); }
.zone:hover::before { background: linear-gradient(rgba(10,12,14,.15), rgba(10,12,14,.85)); }
.zone > *:not(.zone__img) { position: relative; z-index: 2; }
.zone__count { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--platinum); }
.zone h3 { font-family: var(--serif); font-size: 34px; line-height: 1.05; margin: 6px 0 0; }
.zone:nth-child(1) h3 { font-size: 54px; }
.zone__more { max-height: 0; opacity: 0; overflow: hidden; font-size: 14px; color: var(--platinum); transition: all .6s var(--ease); }
.zone:hover .zone__more { max-height: 80px; opacity: 1; margin-top: 10px; }
@media (max-width: 980px) {
  .zones__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
}
@media (max-width: 560px) {
  .zones__grid { grid-template-columns: 1fr; }
  .zone:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .zone:nth-child(1) h3 { font-size: 38px; }
  .zone__more { max-height: 80px; opacity: 1; margin-top: 8px; }
}

/* ---------- Búsquedas especiales ---------- */
.chips-band { background: var(--charcoal); color: var(--white); padding: 34px 0; }
.chips-band__inner { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.chips-band__label { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--silver); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid rgba(255,255,255,.22); padding: 10px 18px; font-size: 13px; letter-spacing: .08em; transition: all .35s var(--ease); }
.chip:hover { background: var(--white); color: var(--ink); }

/* ---------- Comparador ---------- */
.compare { padding: 140px 0; }
.compare__picker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.pick {
  border: 1px solid rgba(0,0,0,.18); background: transparent; padding: 12px 20px; cursor: pointer;
  font: 400 14px var(--sans); letter-spacing: .05em; color: var(--text); transition: all .35s var(--ease);
}
.pick:hover { border-color: var(--ink); }
.pick.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.compare__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cmp { background: var(--white); animation: fadeUp .7s var(--ease); }
.cmp__img { height: 190px; background: var(--img) center/cover; }
.cmp__body { padding: 30px; }
.cmp__body h3 { font-family: var(--serif); font-size: 32px; color: var(--ink); }
.cmp__vibe { color: var(--muted); font-size: 15px; min-height: 52px; margin: 6px 0 22px; }
.metric { margin-bottom: 18px; }
.metric__row { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .06em; margin-bottom: 7px; }
.metric__row strong { font-weight: 500; color: var(--ink); }
.metric__bar { height: 3px; background: var(--platinum); position: relative; overflow: hidden; }
.metric__bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--steel), var(--sea)); width: 0; transition: width 1.2s var(--ease); }
.compare__note { font-size: 13px; color: var(--steel); margin-top: 22px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) { .compare__cards { grid-template-columns: 1fr; } }

/* ---------- Vender ---------- */
.sell { position: relative; padding: 150px 0; color: var(--white); overflow: hidden; }
.sell__bg { position: absolute; inset: -10% 0; background: var(--img) center/cover; transform: translateY(var(--parallax, 0)); }
.sell::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,15,17,.9) 0%, rgba(13,15,17,.7) 50%, rgba(13,15,17,.4)); }
.sell__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 480px; gap: 90px; align-items: center; }
.sell__text p { color: rgba(255,255,255,.82); max-width: 540px; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; }
.checks li { padding: 10px 0 10px 36px; position: relative; border-bottom: 1px solid rgba(255,255,255,.1); }
.checks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1px; background: var(--silver); }
.sell__form, .contact__form { background: var(--pearl); color: var(--text); padding: 44px; box-shadow: var(--shadow); position: relative; }
.sell__form h3 { font-family: var(--serif); font-size: 32px; color: var(--ink); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sell__form label, .contact__form label { display: block; margin-bottom: 16px; }
.sell__form label > span, .contact__form label > span { display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: 400 16px var(--sans); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid rgba(0,0,0,.2); padding: 8px 0; outline: none; border-radius: 0; transition: border-color .3s;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.sell__form .check > span, .contact__form .check > span { display: inline; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); margin: 0; }
.check input { width: auto; margin-top: 5px; }
.check a { text-decoration: underline; }
.sell__ok { display: none; margin: 16px 0 0; color: var(--sea); font-weight: 400; }
.is-sent .sell__ok { display: block; }
@media (max-width: 980px) { .sell__grid { grid-template-columns: 1fr; gap: 50px; } }
.sell__grid > *, .contact__grid > *, .faq__grid > *, .team__grid > * { min-width: 0; }
@media (max-width: 400px) {
  .title { font-size: 32px; }
  .btn { white-space: normal; text-align: center; }
}
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } .sell__form, .contact__form { padding: 30px 22px; } }

/* ---------- Equipo ---------- */
/* ---------- Equipo: fotos grandes ---------- */
.team { padding: 150px 0; background: var(--white); }
.team__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; margin-bottom: 70px; }
.team__intro p { color: var(--muted); }
.quote { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.35; color: var(--graphite); margin: 0 0 22px; padding-left: 26px; border-left: 1px solid var(--silver); }
.team__people { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 22px; align-items: end; }
.person { position: relative; overflow: hidden; }
.person__photo {
  aspect-ratio: 3 / 4.2; position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 38%, #d9dcdf 0 18%, transparent 19%), radial-gradient(ellipse at 50% 100%, #d9dcdf 0 38%, transparent 39%), linear-gradient(170deg, var(--platinum), #c4c8cd);
  transition: transform 1.2s var(--ease);
}
.person--lead .person__photo { aspect-ratio: 3 / 3.6; }
.person:hover .person__photo { transform: scale(1.04); }
.person__ph { position: absolute; top: 16px; left: 16px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--steel); }
.person figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; color: var(--white); display: flex; flex-direction: column;
  background: linear-gradient(transparent, rgba(15,17,19,.82));
}
.person strong { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.1; }
.person--lead strong { font-size: 32px; }
.person figcaption span { font-size: 13px; letter-spacing: .1em; color: var(--platinum); margin-top: 4px; }
.person figcaption em { font-style: normal; font-size: 11px; letter-spacing: .24em; color: var(--silver); margin-top: 8px; max-height: 0; opacity: 0; transition: all .5s var(--ease); }
.person:hover figcaption em { max-height: 20px; opacity: 1; }
@media (max-width: 980px) {
  .team__intro { grid-template-columns: 1fr; gap: 10px; }
  .team__people { grid-template-columns: 1fr 1fr; }
  .team__people .person--lead { grid-column: 1 / -1; }
  .person figcaption em { max-height: 20px; opacity: 1; }
}
@media (max-width: 480px) { .person strong { font-size: 20px; } .person--lead strong { font-size: 24px; } .person figcaption { padding: 40px 14px 14px; } }

/* ---------- Reseñas con aspecto de Google ---------- */
.reviews { padding: 140px 0; }
.g-score { display: flex; align-items: center; gap: 16px; background: var(--white); padding: 16px 24px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.25); border-radius: 8px; transition: box-shadow .3s; }
.g-score:hover { box-shadow: 0 14px 34px -14px rgba(0,0,0,.3); }
.g-icon { width: 40px; height: 40px; flex: none; }
.g-score__row { display: flex; align-items: center; gap: 10px; }
.g-score strong { font: 500 28px/1 var(--sans); color: #202124; }
.g-score small { display: block; font-size: 13px; color: #5f6368; margin-top: 4px; }
/* Estrellas doradas de Google, con medias estrellas (--rating) */
.g-stars { --size: 20px; display: inline-block; height: var(--size); font-size: var(--size); line-height: 1; letter-spacing: 0; white-space: nowrap; }
.g-stars::before {
  content: "★★★★★"; display: inline-block; font-family: Arial, sans-serif;
  background: linear-gradient(90deg, #fbbc04 calc(var(--rating) / 5 * 100%), #dadce0 0); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reviews__langs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 26px 0 34px; font-size: 13px; color: var(--steel); }
.reviews__langs button { border: 1px solid #dadce0; background: var(--white); border-radius: 18px; padding: 7px 16px; font: 400 13px var(--sans); color: #3c4043; cursor: pointer; transition: all .3s; }
.reviews__langs button.is-on { background: #e8f0fe; border-color: #d2e3fc; color: #1967d2; }
.reviews__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.greview {
  background: var(--white); border-radius: 8px; padding: 22px 24px 20px; font-family: Roboto, Arial, sans-serif; color: #202124;
  box-shadow: 0 1px 2px rgba(60,64,67,.15), 0 2px 8px rgba(60,64,67,.08); position: relative;
}
.greview__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.greview__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: #e8eaed; }
.greview__avatar--txt { display: grid; place-items: center; color: #fff; font: 400 18px/1 var(--sans); }
.greview__name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.greview__meta { font-size: 12px; color: #70757a; }
.greview__g { position: absolute; top: 22px; right: 22px; width: 20px; height: 20px; }
.greview__rate { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.greview__rate .g-stars { --size: 15px; }
.greview__date { font-size: 12px; color: #70757a; }
.greview__text { font-size: 14px; line-height: 1.6; color: #3c4043; margin: 0; white-space: pre-line; }
.greview__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.greview__more { background: none; border: 0; padding: 0; margin-top: 6px; color: #1a73e8; font: 500 13px Roboto, Arial, sans-serif; cursor: pointer; }
.greview__tr { display: block; font-size: 11px; color: #70757a; margin-top: 10px; font-style: italic; }
@media (max-width: 980px) { .reviews__track { grid-template-columns: 1fr; } }

/* ---------- Vendidas y reservadas (cinta en movimiento) ---------- */
.sold { padding: 130px 0 120px; background: var(--white); overflow: hidden; }
.sold__marquee { overflow: hidden; }
.sold__track { display: flex; gap: 22px; width: max-content; animation: marquee 60s linear infinite; padding: 10px 0; }
.sold__marquee:hover .sold__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.sold-card { position: relative; width: 340px; flex: none; }
.sold-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.sold-card__img { position: absolute; inset: 0; background: var(--img) center/cover; transition: transform 1.4s var(--ease); }
.sold-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(15,17,19,.38); transition: background .6s; }
.sold-card:hover .sold-card__img { transform: scale(1.06); }
.sold-card:hover .sold-card__media::after { background: rgba(15,17,19,.2); }
/* Sello manuscrito en el centro de la foto */
.sold-card__stamp {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); text-shadow: 0 2px 14px rgba(0,0,0,.45); transform: rotate(-7deg);
}
.sold-card__script { font-family: "Great Vibes", cursive; font-size: 62px; line-height: 1; }
.sold-card__langs {
  display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--platinum);
}
.sold-card__langs::before, .sold-card__langs::after { content: ""; width: 22px; height: 1px; background: currentColor; }
.sold-card__stamp.is-reserved .sold-card__script { color: #f1e6d2; }
.sold-card__body { padding: 14px 4px 0; }
.sold-card__place { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--steel); }
.sold-card__title { font-family: var(--serif); font-size: 21px; color: var(--ink); line-height: 1.2; margin-top: 4px; }
@media (max-width: 560px) { .sold-card { width: 270px; } .sold-card__script { font-size: 50px; } }

/* ---------- Inauguración ---------- */
.opening { padding: 140px 0; }
.opening__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.shot {
  position: relative; overflow: hidden; display: grid; place-items: center; color: var(--steel); font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  background: linear-gradient(150deg, var(--platinum), #cfd3d7); border: 1px dashed rgba(0,0,0,.15);
}
.shot::before { content: ""; width: 34px; height: 26px; border: 1.5px solid currentColor; border-radius: 4px; position: absolute; top: calc(50% - 34px); opacity: .6; }
.shot--a { grid-column: span 2; grid-row: span 2; }
@media (max-width: 860px) {
  .opening__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .shot--a { grid-row: span 1; }
  .shot--a.has-media { grid-row: span 2; }
}

/* ---------- FAQ ---------- */
.faq { padding: 140px 0; background: var(--white); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq__grid > div:first-child p { color: var(--muted); margin-bottom: 30px; }
.faq__list details { border-bottom: 1px solid var(--platinum); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative;
  font-family: var(--serif); font-size: 24px; color: var(--ink); line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 6px; top: 22px; font: 300 30px var(--sans); color: var(--steel); transition: transform .4s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--muted); padding-bottom: 24px; max-width: 640px; animation: fadeUp .5s var(--ease); }
@media (max-width: 980px) { .faq__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Contacto ---------- */
.contact { padding: 150px 0; background: var(--charcoal); color: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: start; }
.contact__info > p { color: var(--silver); }
.contact__list { list-style: none; padding: 0; margin: 40px 0 0; }
.contact__list li { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact__list span { display: block; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
.contact__list em { color: var(--steel); font-size: 13px; }
.contact__list a:hover { color: var(--silver); }
@media (max-width: 980px) { .contact__grid { grid-template-columns: 1fr; gap: 50px; } }

/* ---------- Pie de página ---------- */
.footer { background: var(--ink); color: var(--silver); padding: 100px 0 30px; font-size: 15px; }
.footer__top { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.08); }
.logo--footer { color: var(--white); flex: none; }
.footer__claim { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--platinum); flex: 1; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; font-size: 11px; letter-spacing: .1em; transition: all .35s; }
.social a:hover { background: var(--white); color: var(--ink); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 60px 0; }
.footer h4 { font: 400 11px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer__cols a { display: block; padding: 4px 0; transition: color .3s; }
.footer__cols a:hover { color: var(--white); }
.footer__trust { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__trust p { margin: 0; font-size: 13px; flex: 1; min-width: 260px; }
.footer__trust strong { color: var(--white); font-weight: 400; }
.badges { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.badge-assoc { width: 78px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); font-family: var(--serif); font-size: 20px; letter-spacing: .1em; color: var(--platinum); }
.badge-text { font-size: 13px; color: var(--silver); letter-spacing: .04em; }
.team__langs { text-align: center; margin-top: 36px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); }

/* ============ PÁGINAS DE ZONA (SEO · Felanitx, Portocolom) ============ */
.zone-page { background: var(--pearl); }
.zone-hero { position: relative; min-height: clamp(380px, 60vh, 520px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.zone-hero__bg { position: absolute; inset: 0; background: var(--img, var(--graphite)) center/cover; z-index: -2; animation: zoneSlow 24s ease-in-out infinite alternate; }
.zone-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,22,25,.55) 0%, rgba(19,22,25,.75) 90%); z-index: -1; }
.zone-hero__inner { padding: 90px 0 60px; color: var(--white); }
.zone-hero__title { font: 300 clamp(38px, 5.6vw, 72px)/1.05 var(--serif); margin: 10px 0 18px; color: var(--white); letter-spacing: -.01em; max-width: 820px; }
.zone-hero__title em { color: var(--silver); font-style: italic; }
.zone-hero__lead { max-width: 640px; font: 300 clamp(17px, 1.6vw, 20px)/1.5 var(--sans); color: var(--platinum); margin: 0; }
.crumbs--light { color: var(--silver); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.crumbs--light a { color: var(--silver); border-bottom: 1px solid transparent; }
.crumbs--light a:hover { border-color: var(--silver); }
.crumbs--light span { color: var(--steel); }
@keyframes zoneSlow { from { transform: scale(1); } to { transform: scale(1.08); } }

.zone-intro { background: var(--pearl); padding: 80px 0 40px; }
.zone-intro__wrap { max-width: 820px; margin: 0 auto; }
.zone-intro__wrap p { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.6; color: var(--ink); margin: 0 0 1.1em; font-family: var(--serif); font-weight: 300; }
.zone-intro__wrap p strong { font-weight: 500; }
.zone-intro__quote { font-style: italic; color: var(--steel); }
.zone-intro__quote em { color: var(--ink); font-weight: 400; }

.zone-content { background: var(--pearl); padding: 60px 0; }
.zone-content--band { background: linear-gradient(180deg, var(--pearl) 0%, #efe9dd 100%); }
.zone-content__wrap { max-width: 820px; margin: 0 auto; }
.zone-content h2 { font: 400 clamp(26px, 3.2vw, 36px)/1.2 var(--serif); color: var(--ink); margin: 40px 0 18px; letter-spacing: -.005em; }
.zone-content h2:first-child { margin-top: 0; }
.zone-content h3 { font: 500 15px/1.4 var(--sans); color: var(--steel); margin: 28px 0 10px; letter-spacing: .18em; text-transform: uppercase; }
.zone-content p { font-size: 17px; line-height: 1.78; color: var(--text); margin: 0 0 1.1em; }
.zone-content p strong { color: var(--ink); font-weight: 500; }
.zone-list { list-style: none; padding: 0; margin: 10px 0 1.4em; }
.zone-list li { padding: 14px 0 14px 28px; position: relative; border-bottom: 1px solid var(--platinum); font-size: 16px; line-height: 1.6; color: var(--text); }
.zone-list li:last-child { border-bottom: 0; }
.zone-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 1px; background: var(--sand); }
.zone-list li strong { color: var(--ink); font-weight: 500; }
.zone-links { list-style: none; padding: 0; margin: 10px 0 1.4em; }
.zone-links li { padding: 10px 0; border-bottom: 1px solid var(--platinum); }
.zone-links li:last-child { border-bottom: 0; }
.zone-links li a { font-size: 16px; color: var(--sea); border-bottom: 1px solid transparent; transition: border-color .3s; }
.zone-links li a:hover { border-bottom-color: var(--sea); }
.zone-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }

.zone-props { background: var(--pearl); padding: 70px 0; }
.props__track--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 980px) { .props__track--grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .props__track--grid { grid-template-columns: 1fr; } }
.card__sello { position: absolute; top: 12px; left: 12px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; padding: 6px 10px; color: var(--white); z-index: 2; }
.card__sello--v { background: #b23b3b; }
.card__sello--r { background: #c9933b; color: var(--ink); }
.card__sello--a { background: #3f6e8a; }
.card__sello--o { background: var(--sand); color: var(--ink); }
.card__media { position: relative; }

.zone-contact { background: var(--ink); color: var(--platinum); padding: 90px 0; }
.zone-contact__wrap { max-width: 820px; margin: 0 auto; }
.zone-contact__wrap .title--light { margin-bottom: 16px; }
.zone-contact__lead { color: var(--silver); font-size: 17px; margin: 0 0 24px; }
.zone-contact .contact__list { list-style: none; padding: 0; margin: 0; }
.zone-contact .contact__list li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; }
.zone-contact .contact__list li:last-child { border-bottom: 0; }
.zone-contact .contact__list li span:first-child { color: var(--sand); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; min-width: 130px; }
.zone-contact .contact__list a { color: var(--platinum); border-bottom: 1px solid var(--steel); }
.zone-contact .contact__list a:hover { color: var(--white); border-bottom-color: var(--sand); }
.menu .is-current { color: var(--ink); border-bottom: 1px solid var(--sand); padding-bottom: 2px; }

/* Prazo de resposta visible junto a los formularios */
.form__sla { margin: 14px 0 0; font-size: 13px; color: var(--sea); letter-spacing: .02em; text-align: center; }

/* ====== Secciones de historia personal (alexander.html) ======
   Tipografía serif en las citas, prosa cómoda, poco adorno. */
.story { background: var(--pearl); padding: 110px 0; }
.story + .story { padding-top: 60px; }
.story--sand { background: linear-gradient(180deg, var(--pearl) 0%, #efe9dd 100%); }
.story__wrap { max-width: 820px; margin: 0 auto; }
.story__head { text-align: center; margin-bottom: 48px; }
.story__head .title { font: 300 clamp(34px, 4.8vw, 54px)/1.1 var(--serif); color: var(--ink); margin: 10px 0 0; }
.story__head .title em { color: var(--steel); font-style: italic; }
.story__lead { font: italic 300 clamp(18px, 2vw, 22px)/1.5 var(--serif); color: var(--steel); max-width: 560px; margin: 22px auto 0; }
.story__chapter { margin-bottom: 44px; }
.story__chapter:last-child { margin-bottom: 0; }
.story__sub {
  font: 400 clamp(20px, 2.2vw, 26px)/1.3 var(--serif); color: var(--ink);
  margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--platinum);
  letter-spacing: -.005em;
}
.story__chapter p, .story__flow p { font-size: 17px; line-height: 1.78; color: var(--text); margin: 0 0 1.1em; }
.story__chapter p strong, .story__flow p strong { color: var(--ink); font-weight: 500; }
.story__flow { font-size: 17px; }
.story__quote {
  font: italic 300 clamp(22px, 2.6vw, 30px)/1.4 var(--serif); color: var(--ink);
  border-left: 2px solid var(--sand); padding: 10px 0 10px 28px;
  margin: 32px 0 32px 10px; max-width: 620px;
}
.story__list { list-style: none; padding: 0; margin: 10px 0 1.4em; }
.story__list li {
  padding: 14px 0 14px 28px; position: relative;
  border-bottom: 1px solid var(--platinum);
  font-size: 16px; line-height: 1.6; color: var(--text);
}
.story__list li:last-child { border-bottom: 0; }
.story__list li::before {
  content: ""; position: absolute; left: 0; top: 24px;
  width: 14px; height: 1px; background: var(--sand);
}
.story__list li strong { color: var(--ink); font-weight: 500; }
.story__closing {
  font: italic 400 clamp(20px, 2.4vw, 26px)/1.4 var(--serif);
  color: var(--ink); text-align: center;
  padding: 28px 20px 0; border-top: 1px solid var(--platinum);
  margin-top: 32px;
}
@media (max-width: 640px) {
  .story { padding: 70px 0 50px; }
  .story + .story { padding-top: 40px; }
  .story__quote { margin-left: 0; padding-left: 20px; }
}

/* Mapa + cómo llegar */
.location { background: var(--pearl); padding: 110px 0; }
.location__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.location__title { font: 300 clamp(32px, 4vw, 48px)/1.1 var(--serif); color: var(--ink); margin: 14px 0 28px; letter-spacing: -.01em; }
.location__title em { color: var(--steel); font-style: italic; }
.location__list { list-style: none; padding: 0; margin: 0 0 32px; }
.location__list li { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--platinum); font-size: 15px; color: var(--text); }
.location__list li strong { color: var(--steel); font-weight: 400; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; padding-top: 3px; }
.location__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.location__map { box-shadow: 0 30px 60px -30px rgba(19,22,25,.35); }
@media (max-width: 980px) {
  .location { padding: 70px 0; }
  .location__grid { grid-template-columns: 1fr; gap: 32px; }
  .location__list li { grid-template-columns: 1fr; gap: 2px; }
}
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 90px 0 0; font-size: 13px; }
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--white); }
@media (max-width: 980px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.whatsapp {
  position: fixed; right: 26px; bottom: 26px; z-index: 60; height: 62px; min-width: 62px; border-radius: 31px;
  background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.55); transition: all .45s var(--ease); overflow: hidden; padding: 0 17px;
}
.whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: waPulse 2.6s infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }
.whatsapp__label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; letter-spacing: .06em; transition: all .45s var(--ease); }
.whatsapp:hover .whatsapp__label { max-width: 120px; margin-left: 10px; }
.whatsapp svg { flex: none; }

/* ---------- Cookies ---------- */
.cookies {
  position: fixed; left: 26px; bottom: 26px; z-index: 70; max-width: 460px; background: var(--white); padding: 26px 28px;
  box-shadow: var(--shadow); font-size: 14px; transform: translateY(140%); transition: transform .7s var(--ease);
}
.cookies.is-visible { transform: none; }
.cookies p { color: var(--muted); }
.cookies a { text-decoration: underline; }
.cookies__btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 560px) { .cookies { left: 12px; right: 12px; bottom: 100px; } .whatsapp { right: 16px; bottom: 16px; } }

/* =========================================================
   PÁGINAS INTERIORES: Sobre nosotros y página personal
   ========================================================= */
.menu a.is-current::after { transform: scaleX(1); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--ink); }

/* Huecos para fotos pendientes */
.ph-box { position: relative; background: linear-gradient(160deg, var(--platinum), #c6cacf); display: grid; place-items: center; overflow: hidden; }
.ph-box--tall { aspect-ratio: 3 / 4; }
.ph-label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--steel); text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.ph-note { font-size: 14px; font-style: italic; color: var(--steel) !important; }

/* Migas de pan */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--platinum); margin-bottom: 26px; }
.crumbs a { opacity: .75; }
.crumbs a:hover { opacity: 1; }
.crumbs span { opacity: .5; }

/* Portada de página interior (foto grande) */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background: var(--img) center/cover; animation: heroZoom 30s ease-in-out infinite alternate; }
.page-hero__bg--empty { background: radial-gradient(ellipse at 30% 40%, #4a5057, var(--ink) 70%); display: grid; place-items: center; animation: none; }
.page-hero__bg--empty .ph-label { color: var(--silver); border: 1px dashed rgba(255,255,255,.3); padding: 16px 24px; margin: 0 20px 120px; max-width: calc(100% - 40px); }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,14,.55), rgba(10,12,14,.1) 40%, rgba(10,12,14,.75)); }
.page-hero__content { position: relative; padding: 180px 0 90px; }
.page-hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 8vw, 110px); line-height: .95; margin-bottom: 18px; }
.page-hero__title em { color: var(--platinum); }
.page-hero__lead { font-size: 19px; max-width: 560px; color: rgba(255,255,255,.85); margin: 0; }

/* Nuestra historia */
.story { padding: 140px 0; }
.story__grid { display: grid; grid-template-columns: .85fr 1fr; gap: 100px; align-items: center; }
.story__grid > * { min-width: 0; }
.story__photo { position: relative; }
.story__photo figcaption { position: absolute; left: -26px; bottom: 34px; background: var(--ink); color: var(--white); padding: 20px 26px; display: flex; flex-direction: column; }
.story__photo figcaption strong { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.story__photo figcaption span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }
.story__welcome { font-family: "Great Vibes", cursive; font-size: 46px; color: var(--graphite); margin-bottom: 10px; line-height: 1; }
.story__text p { color: var(--muted); }
@media (max-width: 980px) { .story__grid { grid-template-columns: 1fr; gap: 60px; } .story__photo figcaption { left: 0; } }

/* Hitos */
.milestones { padding: 120px 0; background: var(--charcoal); color: var(--white); }
.timeline { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.15); }
.timeline li { padding: 34px 28px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--silver); }
.timeline__year { font-family: var(--serif); font-size: 44px; color: var(--silver); line-height: 1; }
.timeline h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 12px 0 6px; }
.timeline p { color: var(--silver); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; gap: 40px 0; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* Qué hacemos */
.services { padding: 140px 0; background: var(--white); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { padding: 36px 30px; border: 1px solid var(--platinum); transition: all .5s var(--ease); }
.service:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-6px); }
.service:hover p { color: var(--silver); }
.service__n { font-family: var(--serif); font-size: 40px; color: var(--silver); }
.service h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin: 18px 0 10px; }
.service p { color: var(--muted); font-size: 15px; margin: 0; transition: color .5s; }
@media (max-width: 980px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .services__grid { grid-template-columns: 1fr; } }

/* Fichas del equipo */
.crew { padding: 140px 0; }
.crew__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.member { background: var(--white); display: flex; flex-direction: column; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.member:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.member__photo { aspect-ratio: 4 / 5; }
.member__photo--join { display: grid; place-items: center; background: var(--ink); }
.member__photo--join span { font-family: var(--serif); font-size: 120px; color: var(--silver); font-style: italic; }
.member__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.member h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--ink); line-height: 1.1; }
.member__role { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin: 6px 0 2px; }
.member__langs { font-size: 12px; letter-spacing: .24em; color: var(--sea); margin-bottom: 14px; }
.member__bio { color: var(--muted); font-size: 15px; flex: 1; }
.member__phone { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 14px; }
/* Redes sociales de cada persona */
.socials { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 16px; margin-bottom: 16px; border-top: 1px solid var(--platinum); }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--platinum); display: grid; place-items: center; color: var(--graphite); transition: all .35s var(--ease); }
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.agent-hero__socials .socials { border-top: 0; margin: 26px 0 0; padding: 0; }
.socials--light a { border-color: rgba(255,255,255,.25); color: var(--white); }
.socials--light a:hover { background: var(--white); color: var(--ink); }

/* Historia en tres capítulos */
.story__intro { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.story__intro .quote { border: 0; padding: 0; font-size: 32px; }
/* Capítulos de "Sobre nosotros": uno debajo de otro, con el número romano a la izquierda
   y el texto a la derecha. Diseño editorial para prosa larga. */
.chapters { display: flex; flex-direction: column; gap: 70px; max-width: 980px; margin: 0 auto; }
.chapter {
  display: grid; grid-template-columns: 140px 1fr; gap: 48px;
  border-top: 1px solid var(--silver); padding-top: 36px;
}
.chapter__n {
  font-family: var(--serif); font-style: italic; font-size: 96px; line-height: 1;
  color: var(--sand); letter-spacing: .02em; position: sticky; top: 100px; align-self: start;
}
.chapter__body h2 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 48px);
  color: var(--ink); margin: 0 0 24px; letter-spacing: -.01em; line-height: 1.1;
}
.chapter__sub {
  font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ink); margin: 36px 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--platinum); letter-spacing: -.005em;
}
.chapter__body p { color: var(--text); font-size: 17px; line-height: 1.78; margin: 0 0 1.1em; }
.chapter__body p strong { color: var(--ink); font-weight: 500; }
.chapter__lead { font: italic 300 clamp(19px, 2vw, 22px)/1.5 var(--serif); color: var(--steel); margin-bottom: 22px !important; }
.chapter__quote {
  font: italic 300 clamp(22px, 2.6vw, 30px)/1.4 var(--serif); color: var(--ink);
  border-left: 2px solid var(--sand); padding: 10px 0 10px 28px;
  margin: 32px 0 32px 10px;
}
.chapter__list { list-style: none; padding: 0; margin: 10px 0 1.4em; }
.chapter__list li {
  padding: 14px 0 14px 28px; position: relative;
  border-bottom: 1px solid var(--platinum);
  font-size: 16px; line-height: 1.6; color: var(--text);
}
.chapter__list li:last-child { border-bottom: 0; }
.chapter__list li::before {
  content: ""; position: absolute; left: 0; top: 24px;
  width: 14px; height: 1px; background: var(--sand);
}
.chapter__list li strong { color: var(--ink); font-weight: 500; }
.chapter__closing {
  font: italic 400 clamp(20px, 2.4vw, 26px)/1.4 var(--serif);
  color: var(--ink); text-align: center;
  padding: 28px 20px 0; border-top: 1px solid var(--platinum); margin-top: 32px !important;
}
.story__sign { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 90px; text-align: center; }
.story__sign .link-arrow { margin-top: 18px; }
@media (max-width: 900px) {
  .chapters { gap: 50px; }
  .chapter { grid-template-columns: 1fr; gap: 10px; padding-top: 28px; }
  .chapter__n { font-size: 64px; position: static; }
  .chapter__quote { margin-left: 0; padding-left: 20px; }
}

/* Colaboradores */
.partners { padding: 120px 0; background: var(--white); }
.partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13px; color: var(--muted); padding-bottom: 6px; }
.partner strong { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink); margin-top: 10px; }
.partner__logo {
  width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 26px 34px; background: var(--pearl);
  border: 1px solid var(--platinum); transition: all .5s var(--ease);
}
.partner__logo img { max-width: 100%; max-height: 92px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .85; transition: all .5s var(--ease); }
.partner:hover .partner__logo { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-4px); }
.partner:hover .partner__logo img { filter: none; opacity: 1; }
.partner--join .partner__logo { border-style: dashed; }
@media (max-width: 860px) { .partners__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .partners__grid { grid-template-columns: 1fr; } }

/* Red de profesionales (sin logos) */
.network { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--platinum); }
.network li { padding: 30px 30px 30px 0; border-bottom: 1px solid var(--platinum); }
.network h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--ink); margin-bottom: 6px; }
.network p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .network { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .network { grid-template-columns: 1fr; } }

/* Nombre escrito con letra elegante cuando aún no hay logo */
.wordmark { color: var(--graphite); line-height: 1.1; text-align: center; }
.wordmark--script { font-family: "Great Vibes", cursive; font-size: 46px; }
.wordmark--roman { font-family: "Cinzel", serif; font-weight: 600; font-size: 24px; letter-spacing: .12em; text-transform: uppercase; }
.wordmark--sport { font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: .3em; text-transform: uppercase; font-style: italic; }
.wordmark--join { font-family: var(--serif); font-size: 64px; font-weight: 300; color: var(--silver); }

/* Cinta de colaboradores en la portada */
.pband { background: var(--white); padding: 70px 0 60px; border-top: 1px solid var(--platinum); overflow: hidden; }
.pband__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.pband__label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--steel); }
.pband__marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pband__track { display: flex; align-items: center; gap: 90px; width: max-content; animation: marquee 45s linear infinite; }
.pband__marquee:hover .pband__track { animation-play-state: paused; }
.pband__item { display: flex; align-items: center; height: 70px; flex: none; }
.pband__item img { max-height: 64px; max-width: 240px; filter: grayscale(1); opacity: .7; transition: all .4s; }
.pband__item:hover img { filter: none; opacity: 1; }
.pband__item .wordmark { color: var(--steel); }
@media (hover: none) { .partner__logo img, .pband__item img { filter: none; opacity: 1; } }
.pband__item .wordmark--script { font-size: 40px; }
.pband__item .wordmark--roman, .pband__item .wordmark--sport { font-size: 19px; }

/* Vídeos: hueco con botón de play y ventana grande */
.shot--video { cursor: pointer; font: inherit; color: var(--silver); background: radial-gradient(ellipse at 50% 45%, #3a3f45, var(--ink) 75%); border: 0; gap: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.shot--video::before { display: none; }
.play { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--silver-grad); box-shadow: 0 0 0 0 rgba(255,255,255,.4); animation: pulse 2.6s infinite; transition: transform .4s var(--ease); }
.play::after { content: ""; position: absolute; left: 34px; top: 27px; border-left: 22px solid var(--ink); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.shot--video-sm .play { width: 58px; height: 58px; }
.shot--video-sm .play::after { left: 23px; top: 18px; border-left-width: 16px; border-top-width: 11px; border-bottom-width: 11px; }
.shot--video:hover .play, .video-card:hover .play { transform: scale(1.1); }
.is-empty-pulse { outline: 2px solid var(--sand); outline-offset: -2px; }
/* Hueco con vídeo en movimiento de fondo y fotos reales */
.shot--video.has-media { position: relative; overflow: hidden; justify-content: flex-end; padding-bottom: 34px; color: var(--white); }
.shot__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.shot--video.has-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,14,.1), rgba(10,12,14,.65)); }
.shot--video.has-media > .play, .shot--video.has-media > .shot__caption { position: relative; z-index: 2; }
.shot--video.has-media:hover .shot__bg { transform: scale(1.05); }
.shot__caption { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; }
.shot--photo { background: var(--img) center/cover; border: 0; transition: transform .8s var(--ease); }
.shot--photo::before { display: none; }
.lightbox__frame.is-vertical { width: auto; height: min(86vh, 900px); aspect-ratio: 9 / 16; max-width: 100%; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8,9,10,.92); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: .4s var(--ease); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; }
.lightbox__frame iframe, .lightbox__frame video { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: var(--white); font-size: 44px; line-height: 1; cursor: pointer; }

/* Llamada final */
.cta-band { background: var(--ink); color: var(--white); padding: 90px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 52px); margin-bottom: 8px; }
.cta-band p:not(.eyebrow) { color: var(--silver); margin: 0; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Página personal ---------- */
.agent-hero { background: radial-gradient(ellipse at 75% 30%, #30353b, var(--ink) 65%); color: var(--white); padding: 170px 0 0; overflow: hidden; }
.agent-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: end; }
.agent-hero__grid > * { min-width: 0; }
.agent-hero__text { padding-bottom: 100px; }
.agent-hero__name { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 7.5vw, 112px); line-height: .92; margin-bottom: 26px; }
.agent-hero__name em { display: block; color: var(--silver); }
.agent-hero__lead { font-size: 20px; color: rgba(255,255,255,.85); max-width: 520px; }
.agent-hero__facts { list-style: none; padding: 0; margin: 34px 0 40px; display: flex; gap: 34px; flex-wrap: wrap; }
.agent-hero__facts li { display: flex; flex-direction: column; }
.agent-hero__facts strong { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.agent-hero__facts span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--silver); }
.agent-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.agent-hero__photo { position: relative; margin: 0; }
.agent-hero__img {
  aspect-ratio: 4 / 5; background: var(--img, linear-gradient(170deg, #4a5057, #23272b)) center/cover; display: grid; place-items: center;
  -webkit-mask: linear-gradient(180deg, #000 80%, transparent); mask: linear-gradient(180deg, #000 80%, transparent);
}
.agent-hero__img .ph-label { color: var(--silver); border: 1px dashed rgba(255,255,255,.3); padding: 14px 20px; }
.agent-hero__sign { position: absolute; left: -30px; bottom: 60px; font-family: "Great Vibes", cursive; font-size: 64px; color: var(--platinum); transform: rotate(-6deg); text-shadow: 0 4px 20px rgba(0,0,0,.5); white-space: nowrap; }
@media (max-width: 900px) {
  .agent-hero { padding-top: 140px; }
  .agent-hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .agent-hero__text { padding-bottom: 70px; }
  .agent-hero__photo { order: -1; }
  .agent-hero__img { aspect-ratio: 1 / 1; }
  .agent-hero__sign { left: 10px; bottom: 30px; font-size: clamp(32px, 11vw, 48px); }
}

.intro-video { padding: 140px 0; }
.intro-video__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.intro-video__grid > * { min-width: 0; }
.intro-video p { color: var(--muted); }
.video-card { position: relative; aspect-ratio: 16 / 9; width: 100%; border: 0; cursor: pointer; background: radial-gradient(ellipse at 50% 45%, #3a3f45, var(--ink) 75%); display: grid; place-items: center; box-shadow: var(--shadow); }
.video-card .ph-label { position: absolute; top: 18px; left: 0; right: 0; color: var(--silver); }
.video-card--media { overflow: hidden; color: var(--white); }
.video-card--media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,14,.1), rgba(10,12,14,.6)); }
.video-card--media > .play, .video-card__caption { position: relative; z-index: 2; }
.video-card__caption { position: absolute; left: 0; right: 0; bottom: 26px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; }
.video-card--media:hover .shot__bg { transform: scale(1.05); }
.play--big { width: 104px; height: 104px; }
.play--big::after { left: 42px; top: 33px; border-left-width: 28px; border-top-width: 19px; border-bottom-width: 19px; }
@media (max-width: 900px) { .intro-video__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) {
  .video-card--media { aspect-ratio: 4 / 5; }
  .video-card__caption { font-size: 11px; letter-spacing: .2em; padding: 0 16px; }
}

.steps { padding: 130px 0; background: var(--white); }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps__list li { padding: 0 30px 0 0; border-top: 1px solid var(--platinum); padding-top: 30px; }
.steps__list span { font-family: var(--serif); font-size: 46px; color: var(--silver); }
.steps__list h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--ink); margin: 10px 0 8px; }
.steps__list p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .steps__list { grid-template-columns: 1fr 1fr; gap: 40px 0; } }
@media (max-width: 520px) { .steps__list { grid-template-columns: 1fr; } }

.vcard { padding: 140px 0; background: var(--pearl); }
.vcard__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.vcard__grid > * { min-width: 0; }
.vcard__card { background: var(--ink); color: var(--white); padding: 44px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.vcard__card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--silver-grad); opacity: .12; }
.vcard__top { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.vcard__avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--silver-grad); display: grid; place-items: center; flex: none; }
.vcard__avatar span { font-family: "Cinzel", serif; font-weight: 600; color: var(--ink); font-size: 22px; }
.vcard__top h2 { font-family: var(--serif); font-size: 34px; font-weight: 400; }
.vcard__top p { margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }
.vcard__list { list-style: none; padding: 0; margin: 0 0 30px; }
.vcard__list li { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.vcard__list span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); }
.vcard__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.vcard__btns .btn--dark { background: var(--silver-grad); color: var(--ink); }
.vcard__btns .btn--outline { color: var(--white); border-color: rgba(255,255,255,.4); }
.vcard__qr p:not(.eyebrow) { color: var(--muted); }
.qr-box { display: inline-block; background: var(--white); padding: 18px; box-shadow: var(--shadow); margin: 10px 0 14px; }
#qrCode img, #qrCode canvas { display: block; }
@media (max-width: 900px) { .vcard__grid { grid-template-columns: 1fr; gap: 50px; } .vcard__card { padding: 30px 24px; } }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .spotlight__slide.is-active { opacity: 1; }
}

/* ============================================================
   ZONE PAGE · Bloques premium (Felanitx + Portocolom)
   ============================================================ */

/* 1 · Hero con stats */
.zone-hero__stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.zone-hero__stat strong {
  display: block; font-family: var(--serif);
  font-size: 42px; font-weight: 400;
  color: var(--white); line-height: 1;
  letter-spacing: .5px;
}
.zone-hero__stat span {
  display: block; margin-top: 8px;
  font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--platinum);
}
.zone-hero__ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* 2 · Panel de autoridad local */
.zone-authority {
  background: var(--ink); color: var(--white);
  padding: 70px 0;
  background-image: linear-gradient(180deg, var(--ink) 0%, #0e1620 100%);
}
.zone-authority__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px;
  text-align: center;
}
.zone-authority__item {
  padding: 20px 10px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.zone-authority__item:last-child { border-right: 0; }
.zone-authority__icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--silver-grad); border-radius: 50%;
  color: var(--ink);
}
.zone-authority__item strong {
  display: block; font-family: var(--serif);
  font-size: 24px; font-weight: 500; color: var(--white);
  margin-bottom: 6px;
}
.zone-authority__item span {
  display: block; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--platinum);
}
.zone-authority__item p {
  margin-top: 10px; font-size: 13px; color: var(--steel);
  line-height: 1.55;
}
@media (max-width: 820px) {
  .zone-authority__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .zone-authority__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 24px; }
  .zone-authority__item:nth-last-child(-n+2) { border-bottom: 0; }
}

/* 3 · Barómetro del mercado */
.zone-market { padding: 100px 0; background: var(--pearl); }
.zone-market__head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.zone-market__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.zone-market__card {
  background: var(--white); padding: 36px 28px;
  border-top: 3px solid var(--ink); position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.zone-market__card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,.08); }
.zone-market__card .eyebrow { font-size: 10px; color: var(--muted); margin-bottom: 14px; }
.zone-market__card strong {
  display: block; font-family: var(--serif);
  font-size: 36px; font-weight: 400; color: var(--ink);
  line-height: 1; margin-bottom: 8px;
}
.zone-market__card em {
  display: block; font-style: normal; font-size: 13px;
  color: var(--muted); line-height: 1.5;
}
.zone-market__footnote {
  margin-top: 30px; text-align: center;
  font-size: 12px; color: var(--muted); font-style: italic;
}
@media (max-width: 820px) {
  .zone-market__grid { grid-template-columns: 1fr 1fr; }
}

/* 4 · Mapa interactivo de barrios */
.zone-neighborhoods { padding: 110px 0; }
.zone-neighborhoods__head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.zone-nb__layout {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start;
}
.zone-nb__map {
  position: relative; aspect-ratio: 4/3;
  background: var(--sand); border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
}
.zone-nb__map svg { width: 100%; height: 100%; display: block; }
.zone-nb__pin {
  cursor: pointer; transition: transform .3s var(--ease), filter .3s var(--ease);
}
.zone-nb__pin:hover, .zone-nb__pin.is-active { transform: scale(1.15); filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.zone-nb__list { list-style: none; padding: 0; margin: 0; }
.zone-nb__list li {
  padding: 20px 22px; border-bottom: 1px solid rgba(0,0,0,.08);
  cursor: pointer; transition: background .3s var(--ease), padding .3s var(--ease);
  display: flex; align-items: start; gap: 18px;
}
.zone-nb__list li:hover, .zone-nb__list li.is-active {
  background: var(--pearl); padding-left: 30px;
}
.zone-nb__num {
  flex: none; width: 32px; height: 32px;
  background: var(--silver-grad); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 14px; font-weight: 500;
  border-radius: 50%;
}
.zone-nb__name {
  display: block; font-family: var(--serif);
  font-size: 20px; color: var(--ink); margin-bottom: 4px;
}
.zone-nb__desc {
  font-size: 13px; color: var(--muted); line-height: 1.55;
  margin-bottom: 8px;
}
.zone-nb__meta {
  display: flex; gap: 16px; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
}
.zone-nb__meta b { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .zone-nb__layout { grid-template-columns: 1fr; }
  .zone-nb__map { aspect-ratio: 16/10; }
}

/* 5 · Filtros rápidos sobre propiedades */
.zone-filters {
  display: flex; gap: 10px; margin: 20px 0 36px; flex-wrap: wrap;
}
.zone-filters button {
  padding: 10px 20px; background: transparent;
  border: 1px solid rgba(0,0,0,.14); cursor: pointer;
  font: inherit; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink);
  transition: all .3s var(--ease);
}
.zone-filters button:hover { border-color: var(--ink); background: var(--pearl); }
.zone-filters button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* 6 · Galería emocional del lugar */
.zone-lifestyle { padding: 110px 0; background: var(--ink); color: var(--white); }
.zone-lifestyle__head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.zone-lifestyle__head h2 { color: var(--white); }
.zone-lifestyle__head .section-head__lead { color: var(--platinum); }
.zone-lifestyle__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.zone-lifestyle__item {
  position: relative; overflow: hidden; cursor: pointer;
  background-size: cover; background-position: center;
  transition: transform .6s var(--ease);
}
.zone-lifestyle__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,15,20,.75) 0%, rgba(10,15,20,0) 60%);
  transition: opacity .4s var(--ease);
}
.zone-lifestyle__item:hover { transform: scale(1.02); }
.zone-lifestyle__item--wide { grid-column: span 2; }
.zone-lifestyle__item--tall { grid-row: span 2; }
.zone-lifestyle__caption {
  position: absolute; bottom: 20px; left: 24px; right: 24px;
  z-index: 2; color: var(--white);
}
.zone-lifestyle__caption span {
  display: block; font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--platinum); margin-bottom: 4px;
}
.zone-lifestyle__caption strong {
  font-family: var(--serif); font-size: 18px; font-weight: 400;
}
@media (max-width: 820px) {
  .zone-lifestyle__gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .zone-lifestyle__item--wide, .zone-lifestyle__item--tall {
    grid-column: span 1; grid-row: span 1;
  }
}

/* 7 · Guías rápidas */
.zone-guides { padding: 110px 0; }
.zone-guides__head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.zone-guides__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.zone-guide {
  padding: 40px 30px; background: var(--pearl);
  text-align: center; cursor: pointer;
  transition: all .4s var(--ease); display: block; color: var(--ink);
  text-decoration: none; position: relative; overflow: hidden;
}
.zone-guide::before {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 3px; background: var(--silver-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.zone-guide:hover { background: var(--white); box-shadow: 0 12px 36px rgba(0,0,0,.07); transform: translateY(-6px); }
.zone-guide:hover::before { transform: scaleX(1); }
.zone-guide__icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--white); border-radius: 50%;
}
.zone-guide h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  margin-bottom: 10px; color: var(--ink);
}
.zone-guide p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.zone-guide__link {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); font-weight: 500;
}
@media (max-width: 820px) { .zone-guides__grid { grid-template-columns: 1fr 1fr; } }

/* 8 · Testimonios de clientes */
.zone-stories { padding: 110px 0; background: var(--sand); }
.zone-stories__head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.zone-stories__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.zone-story {
  background: var(--white); padding: 36px 32px;
  position: relative; box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.zone-story::before {
  content: "\201C"; position: absolute; top: 10px; right: 24px;
  font-family: var(--serif); font-size: 72px; color: var(--silver);
  line-height: 1;
}
.zone-story__text {
  font-family: var(--serif); font-size: 17px;
  font-style: italic; color: var(--ink); line-height: 1.6;
  margin-bottom: 24px;
}
.zone-story__who {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid rgba(0,0,0,.08);
}
.zone-story__who strong {
  display: block; font-size: 14px; color: var(--ink);
  margin-bottom: 2px;
}
.zone-story__who span {
  font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--steel);
}
.zone-story--placeholder {
  background: transparent; border: 1px dashed rgba(0,0,0,.18);
  box-shadow: none; display: grid; place-items: center;
  min-height: 220px; color: var(--muted); font-style: italic;
  text-align: center; padding: 36px;
}
.zone-story--placeholder::before { display: none; }
@media (max-width: 820px) { .zone-stories__grid { grid-template-columns: 1fr; } }

/* 9 · Enlaces cruzados a otras zonas */
.zone-crosslinks { padding: 90px 0; background: var(--pearl); }
.zone-crosslinks__head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.zone-crosslinks__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.zone-crosslink {
  display: block; position: relative;
  aspect-ratio: 4/3; overflow: hidden;
  background-size: cover; background-position: center;
  text-decoration: none; color: var(--white);
  transition: transform .5s var(--ease);
}
.zone-crosslink::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,15,20,.85) 0%, rgba(10,15,20,.1) 60%);
  transition: background .4s var(--ease);
}
.zone-crosslink:hover { transform: scale(1.03); }
.zone-crosslink:hover::after {
  background: linear-gradient(0deg, rgba(10,15,20,.95) 0%, rgba(10,15,20,.4) 70%);
}
.zone-crosslink__body {
  position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2;
}
.zone-crosslink__body span {
  display: block; font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--platinum); margin-bottom: 4px;
}
.zone-crosslink__body strong {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  display: block;
}
.zone-crosslink--soon { pointer-events: none; opacity: .7; }
.zone-crosslink--soon .zone-crosslink__body::after {
  content: "Próximamente"; display: inline-block; margin-top: 6px;
  padding: 2px 8px; background: rgba(255,255,255,.14);
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
}
@media (max-width: 820px) { .zone-crosslinks__grid { grid-template-columns: 1fr 1fr; } }

/* 10 · Bar sticky móvil */
.zone-sticky {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 50; background: var(--ink); color: var(--white);
  padding: 8px 0; box-shadow: 0 -8px 24px rgba(0,0,0,.14);
}
.zone-sticky__wrap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
}
.zone-sticky a {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 10px 6px;
  color: var(--white); text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.1);
}
.zone-sticky a:last-child { border-right: 0; }
.zone-sticky a span {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
.zone-sticky a svg { width: 22px; height: 22px; }
.zone-sticky a.is-wa { background: rgba(37,211,102,.14); }
@media (max-width: 820px) {
  .zone-sticky { display: block; }
  body { padding-bottom: 70px; }
  .whatsapp { bottom: 76px; }
}

/* ============================================================
   ZONE PAGE · v3 · Galería de barrios con fotos + Historia local
   ============================================================ */

/* Galería interactiva de barrios con fotos */
.zone-nb__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 54px;
}
.zone-nb__thumb {
  position: relative;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  background-color: var(--sand);
  border: 0; padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  display: block;
  text-align: left;
}
.zone-nb__thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,15,20,.9) 0%, rgba(10,15,20,.1) 55%);
  transition: background .4s var(--ease);
}
.zone-nb__thumb:hover,
.zone-nb__thumb.is-active {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
}
.zone-nb__thumb:hover::after,
.zone-nb__thumb.is-active::after {
  background: linear-gradient(0deg, rgba(10,15,20,.95) 0%, rgba(10,15,20,.25) 60%);
}
.zone-nb__thumb-num {
  position: absolute; top: 14px; left: 14px;
  width: 38px; height: 38px;
  background: var(--silver-grad);
  color: var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 17px; font-weight: 500;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.zone-nb__thumb-name {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  color: #fff;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  z-index: 2;
}
@media (max-width: 820px) {
  .zone-nb__gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .zone-nb__thumb-name { font-size: 14px; }
}
@media (max-width: 480px) {
  .zone-nb__gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Lista con descripciones (full-width ahora, sin mapa SVG) */
.zone-neighborhoods .zone-nb__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px;
  background: var(--pearl);
  border: 1px solid rgba(0,0,0,.06);
}
.zone-neighborhoods .zone-nb__list li {
  padding: 24px 28px; cursor: pointer;
  display: flex; align-items: start; gap: 18px;
  border-bottom: 1px solid rgba(0,0,0,.07);
  background: transparent;
  transition: background .4s var(--ease), padding .3s var(--ease);
  scroll-margin-top: 110px;
}
.zone-neighborhoods .zone-nb__list li:hover {
  background: rgba(255,255,255,.5);
  padding-left: 36px;
}
.zone-neighborhoods .zone-nb__list li.is-highlight {
  background: #fff;
  box-shadow: inset 4px 0 0 var(--ink);
  animation: nbFlash 1.4s ease-out;
}
@keyframes nbFlash {
  0% { background: #efe4c5; }
  60% { background: #f5ecd4; }
  100% { background: #fff; }
}
@media (max-width: 820px) {
  .zone-neighborhoods .zone-nb__list { grid-template-columns: 1fr; }
}

/* Historia local de Felanitx */
.zone-history {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--pearl) 0%, var(--sand) 100%);
  position: relative;
}
.zone-history__head {
  max-width: 760px; margin: 0 auto 60px;
  text-align: center;
}
.zone-history__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.zone-history__media {
  position: relative;
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}
.zone-history__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,15,20,.6) 0%, rgba(10,15,20,0) 50%);
}
.zone-history__caption {
  position: absolute; left: 32px; right: 32px; bottom: 28px;
  color: #fff; z-index: 2;
}
.zone-history__caption span {
  display: block;
  font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 8px;
}
.zone-history__caption strong {
  font-family: var(--serif);
  font-size: 28px; font-weight: 400; line-height: 1.1;
  letter-spacing: .5px;
  display: block;
}
.zone-history__text h3 {
  font-family: var(--serif);
  font-size: 26px; font-weight: 400;
  color: var(--ink);
  margin: 32px 0 12px;
  letter-spacing: .4px;
}
.zone-history__text h3:first-child { margin-top: 0; }
.zone-history__text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.zone-history__text em.quote {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
  padding: 20px 24px;
  border-left: 3px solid var(--silver);
  background: rgba(255,255,255,.5);
  margin: 20px 0;
  line-height: 1.4;
}
.zone-history__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid rgba(0,0,0,.1);
}
.zone-history__event strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px; font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.zone-history__event span {
  display: block;
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.zone-history__event p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .zone-history__grid { grid-template-columns: 1fr; gap: 40px; }
  .zone-history__timeline { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* Panel de autoridad reducido a 2 ítems (Portocolom) */
.zone-authority__grid--duo {
  grid-template-columns: 1fr 1fr;
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 820px) {
  .zone-authority__grid--duo { grid-template-columns: 1fr; }
}

/* Botón "Ver propiedades" en cada descripción de barrio */
.zone-nb__cta {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .3s var(--ease);
}
.zone-nb__cta:hover {
  background: var(--graphite, #333);
  transform: translateX(4px);
}
.zone-nb__footnote {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.zone-nb__footnote a { color: var(--ink); text-decoration: underline; }

/* Placeholder temporal cuando falta la foto del barrio */
.zone-nb__thumb--placeholder {
  background-color: #1a2530;
  background-image: linear-gradient(135deg, #1a2530 0%, #263644 100%);
}
.zone-nb__thumb--placeholder::after {
  background: none;
}
.zone-nb__thumb-soon {
  position: absolute;
  bottom: 44px; left: 16px; right: 16px;
  color: var(--platinum);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  z-index: 2;
  font-style: italic;
}

/* ============================================================
   BLOG · portada y artículos
   ============================================================ */
.blog-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.blog-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.blog-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,15,20,.88) 0%, rgba(10,15,20,.35) 60%, rgba(10,15,20,.2) 100%); }
.blog-hero__inner { position: relative; z-index: 2; padding: 150px 0 70px; }
.blog-hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; margin: 10px 0 18px; max-width: 900px; }
.blog-hero__title em { font-style: italic; }
.blog-hero__lead { max-width: 640px; color: var(--platinum); font-size: 17px; line-height: 1.7; margin: 0; }

.blog-cats { position: sticky; top: 72px; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,0,0,.07); }
.blog-cats__inner { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.blog-cats__inner::-webkit-scrollbar { display: none; }
.blog-cats button { flex: none; padding: 9px 18px; background: transparent; border: 1px solid rgba(0,0,0,.14); font: inherit; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: all .3s var(--ease); }
.blog-cats button:hover { border-color: var(--ink); }
.blog-cats button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.blog-featured { padding: 80px 0 30px; }
.blog-featured__card { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: var(--white); box-shadow: 0 20px 50px rgba(0,0,0,.08); text-decoration: none; color: var(--ink); overflow: hidden; }
.blog-featured__img { min-height: 420px; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.blog-featured__card:hover .blog-featured__img { transform: scale(1.03); }
.blog-featured__body { padding: 54px 50px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured__body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 12px 0 18px; }
.blog-featured__body p { color: var(--muted); line-height: 1.7; margin: 0 0 26px; }

.blog-section { padding: 60px 0 20px; }
.blog-section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; border-bottom: 1px solid rgba(0,0,0,.1); padding-bottom: 18px; margin-bottom: 34px; }
.blog-section__head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); margin: 6px 0 0; }
.blog-section__head h2 em { font-style: italic; }
.blog-section__count { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }

.post-card { display: block; text-decoration: none; color: var(--ink); }
.post-card__img { aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--sand); overflow: hidden; position: relative; }
.post-card__img::after { content: ""; position: absolute; inset: 0; background: rgba(10,15,20,0); transition: background .4s var(--ease); }
.post-card:hover .post-card__img::after { background: rgba(10,15,20,.12); }
.post-card__cat { display: block; margin: 18px 0 8px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); }
.post-card h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.25; margin: 0 0 10px; transition: color .3s var(--ease); }
.post-card:hover h3 { color: var(--graphite, #333); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post-card p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0 0 12px; }
.post-card__more { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }

.blog-cta { margin: 90px 0 0; padding: 90px 0; background: var(--ink); color: var(--white); text-align: center; }
.blog-cta h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); margin: 10px 0 16px; }
.blog-cta p { color: var(--platinum); max-width: 560px; margin: 0 auto 30px; line-height: 1.7; }
.blog-cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .blog-featured__card { grid-template-columns: 1fr; }
  .blog-featured__img { min-height: 260px; }
  .blog-featured__body { padding: 34px 26px; }
  .blog-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-cats { top: 60px; }
}

/* Artículo */
.post-hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.post-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.post-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,15,20,.9) 0%, rgba(10,15,20,.4) 55%, rgba(10,15,20,.25) 100%); }
.post-hero__inner { position: relative; z-index: 2; padding: 150px 0 60px; max-width: 900px; }
.post-hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; margin: 12px 0 20px; }
.post-hero__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--platinum); }

.post-body { padding: 70px 0 30px; }
.post-body__wrap { max-width: 760px; margin: 0 auto; }
.post-body__lead { font-family: var(--serif); font-size: 23px; line-height: 1.55; color: var(--ink); margin: 0 0 36px; font-weight: 400; }
.post-body h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.2; margin: 54px 0 16px; color: var(--ink); }
.post-body h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; margin: 34px 0 10px; color: var(--ink); }
.post-body p, .post-body li { font-size: 17px; line-height: 1.8; color: #3a4148; }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 22px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--ink); font-weight: 500; }
.post-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote { margin: 30px 0; padding: 22px 26px; border-left: 3px solid var(--ink); background: var(--pearl); font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--ink); }
.post-body blockquote p { margin: 0; font-size: inherit; color: inherit; }
.post-body table { width: 100%; border-collapse: collapse; margin: 10px 0 28px; font-size: 15px; display: block; overflow-x: auto; }
.post-body th, .post-body td { padding: 12px 14px; border-bottom: 1px solid rgba(0,0,0,.1); text-align: left; vertical-align: top; }
.post-body th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); font-weight: 500; background: var(--pearl); }
.post-body figure { margin: 34px 0; }
.post-body figure img { width: 100%; height: auto; display: block; }
.post-body figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; font-style: italic; }

.post-note { margin: 40px 0 0; padding: 22px 26px; background: var(--pearl); border: 1px solid rgba(0,0,0,.06); font-size: 14px; color: var(--muted); line-height: 1.7; }
.post-note strong { color: var(--ink); }
.post-sources { margin: 34px 0 0; padding-top: 24px; border-top: 1px solid rgba(0,0,0,.1); }
.post-sources h2 { font-size: 13px !important; font-family: inherit !important; letter-spacing: .2em; text-transform: uppercase; color: var(--steel) !important; margin: 0 0 12px !important; font-weight: 500 !important; }
.post-sources ol { padding-left: 18px; }
.post-sources li { font-size: 13px !important; line-height: 1.6 !important; color: var(--muted) !important; margin-bottom: 6px; word-break: break-word; }

.post-author { max-width: 760px; margin: 50px auto 0; display: flex; gap: 20px; align-items: center; padding: 26px 0; border-top: 1px solid rgba(0,0,0,.1); border-bottom: 1px solid rgba(0,0,0,.1); }
.post-author__mark { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--silver-grad); display: grid; place-items: center; font-family: "Cinzel", serif; font-weight: 600; color: var(--ink); }
.post-author strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.post-author span { font-size: 13px; color: var(--muted); }

.post-related { padding: 80px 0 0; }
.post-related h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 6px 0 30px; }
.post-body p > img { width: 100%; height: auto; display: block; margin: 8px 0 6px; }
.post-body table { display: table; }
@media (max-width: 640px) { .post-body table { display: block; } }
.post-body p.post-caption { margin-top: -8px; font-size: 13px; color: var(--muted); font-style: italic; }

/* Verge del Carme: fila de fotos bajo el texto */
.zone-carme__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 50px; }
.zone-carme__photo { aspect-ratio: 4/3; background-size: cover; background-position: center; box-shadow: 0 20px 50px rgba(0,0,0,.15); }
@media (max-width: 700px) { .zone-carme__photos { grid-template-columns: 1fr; } }

/* ============================================================
   BLOG v2 · fondo gris, estilo fino y columna fija del autor
   ============================================================ */
body.blog-page { background: #d8d7d3; }
body.blog-page .blog-cats { background: rgba(216,215,211,.95); border-bottom-color: rgba(0,0,0,.06); }
body.blog-page .blog-cats button { font-weight: 400; border-color: rgba(0,0,0,.12); }
.blog-hero { min-height: 54vh; }
.blog-hero__title, .post-hero__title { font-weight: 300; letter-spacing: -.005em; }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 48px; align-items: start; padding-top: 56px; }
.blog-main { min-width: 0; }
.blog-main .blog-featured { padding: 0 0 10px; }
.blog-main .blog-section { padding: 50px 0 0; }
.blog-main .blog-section__head { border-bottom-color: rgba(0,0,0,.08); margin-bottom: 26px; }
.blog-main .blog-section__head h2 { font-weight: 300; }
.blog-main .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Tarjetas blancas y finas */
body.blog-page .post-card { background: #fff; display: flex; flex-direction: column; transition: box-shadow .45s var(--ease), transform .45s var(--ease); }
body.blog-page .post-card:hover { box-shadow: 0 18px 44px rgba(0,0,0,.08); transform: translateY(-3px); }
body.blog-page .post-card > :not(.post-card__img) { margin-left: 26px; margin-right: 26px; }
body.blog-page .post-card__cat { margin-top: 22px; font-weight: 400; }
body.blog-page .post-card h3 { font-weight: 400; font-size: 23px; line-height: 1.22; }
body.blog-page .post-card p { font-weight: 300; font-size: 14.5px; color: #555c63; }
body.blog-page .post-card__more { margin-top: auto; margin-bottom: 26px; font-weight: 400; font-size: 10.5px; }
body.blog-page .blog-featured__card { box-shadow: none; transition: box-shadow .45s var(--ease); }
body.blog-page .blog-featured__card:hover { box-shadow: 0 18px 44px rgba(0,0,0,.08); }
body.blog-page .blog-featured__img { min-height: 460px; }
body.blog-page .blog-featured__body { padding: 50px 44px; }
body.blog-page .blog-featured__body h2 { font-weight: 300; }
body.blog-page .blog-featured__body p { font-weight: 300; }

/* Artículo en hoja blanca */
.blog-layout .post-body { background: #fff; padding: 64px 68px 60px; }
.blog-layout .post-body__wrap { max-width: 700px; margin: 0 auto; }
body.blog-page .post-body__lead { font-weight: 300; font-size: 24px; line-height: 1.5; }
body.blog-page .post-body h2 { font-weight: 300; font-size: 33px; }
body.blog-page .post-body h3 { font-weight: 400; }
body.blog-page .post-body p, body.blog-page .post-body li { font-weight: 300; color: #394047; }
body.blog-page .post-body strong { font-weight: 500; }
body.blog-page .post-body th { background: #f3f2ef; font-weight: 400; }
body.blog-page .post-body td { font-weight: 300; }
body.blog-page .post-body blockquote { background: #f3f2ef; font-weight: 400; border-left-width: 2px; }
body.blog-page .post-related { padding-top: 70px; }
body.blog-page .post-related h2 { font-weight: 300; }
body.blog-page .blog-cta { margin-top: 80px; }

/* Firma en la portada del artículo */
.post-hero__meta { align-items: center; }
.post-hero__by { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.post-hero__by img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.55); }

/* Portada partida: texto a la izquierda, foto vertical a la derecha */
.post-hero--split { min-height: 80vh; background: var(--ink); }
.post-hero--split .post-hero__bg { left: 50%; }
.post-hero--split .post-hero__shade { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 50%, rgba(19,22,25,.35) 54%, rgba(19,22,25,0) 64%); }
.post-hero--split .post-hero__inner { max-width: none; }
.post-hero--split .post-hero__inner > * { max-width: 46%; }
.post-hero--split .post-hero__title { font-size: clamp(32px, 3.5vw, 52px); }

/* Columna del autor */
.blog-aside__sticky { position: sticky; top: 128px; display: grid; gap: 18px; }
.author-card { background: #fff; padding: 36px 28px 30px; text-align: center; }
.author-card__photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 18px; box-shadow: 0 0 0 6px #d8d7d3; }
.author-card__eyebrow { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--steel); margin: 0 0 6px; }
.author-card__name { font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.1; margin: 0; color: var(--ink); }
.author-card__role { font-size: 12px; letter-spacing: .06em; color: var(--muted); margin: 6px 0 16px; font-weight: 300; }
.author-card__bio { font-size: 14px; line-height: 1.65; font-weight: 300; color: #4a5158; margin: 0 0 22px; }
.author-card__btns { display: grid; gap: 8px; }
.author-card__btn { display: block; padding: 12px 14px; border: 1px solid rgba(0,0,0,.16); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: all .3s var(--ease); }
.author-card__btn:hover { border-color: var(--ink); }
.author-card__btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.author-card__btn--dark:hover { background: #000; }
.author-card__more { display: inline-block; margin-top: 18px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.25); padding-bottom: 2px; }
.aside-box { background: #fff; padding: 22px 24px; }
.aside-box__title { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--steel); margin: 0 0 12px; }
.aside-box__cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.aside-box__cats a { display: block; padding: 7px 11px; border: 1px solid rgba(0,0,0,.12); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: border-color .3s; }
.aside-box__cats a:hover { border-color: var(--ink); }
@media (max-height: 720px) { .blog-aside__sticky { position: static; } }

@media (max-width: 1080px) {
  .blog-layout { grid-template-columns: 1fr; gap: 34px; }
  .blog-aside__sticky { position: static; grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .author-card { display: grid; grid-template-columns: 110px 1fr; gap: 0 22px; text-align: left; align-items: center; }
  .author-card__photo { width: 110px; height: 110px; margin: 0; grid-row: span 3; }
  .author-card__bio, .author-card__btns, .author-card__more { grid-column: 1 / -1; }
  .author-card__bio { margin-top: 18px; }
  .author-card__more { justify-self: start; }
}
@media (max-width: 900px) {
  .post-hero--split .post-hero__bg { left: 0; }
  .post-hero--split .post-hero__shade { background: linear-gradient(0deg, rgba(10,15,20,.92) 0%, rgba(10,15,20,.45) 55%, rgba(10,15,20,.3) 100%); }
  .post-hero--split .post-hero__inner > * { max-width: none; }
}
@media (max-width: 640px) {
  .blog-main .blog-grid { grid-template-columns: 1fr; }
  .blog-layout { padding-top: 30px; }
  .blog-layout .post-body { padding: 34px 22px 30px; }
  body.blog-page .post-body__lead { font-size: 21px; }
  body.blog-page .post-body h2 { font-size: 28px; }
  .author-card { padding: 26px 22px; grid-template-columns: 84px 1fr; }
  .author-card__photo { width: 84px; height: 84px; box-shadow: 0 0 0 4px #d8d7d3; }
  .author-card__name { font-size: 23px; }
  .post-hero__by img { width: 28px; height: 28px; }
}
.blog-aside { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.blog-aside__sticky { top: 112px; }
@media (max-width: 1080px) { .blog-aside { max-width: 560px; width: 100%; margin: 0 auto; } }
.blog-main ~ .blog-aside .blog-aside__sticky { top: 160px; }
.author-card__btn { text-align: center; }

/* Tarjetas emparejadas: misma altura y la última suelta ocupa la fila entera */
body.blog-page .post-card h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.22em * 3); }
body.blog-page .post-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.65em * 3); }
body.blog-page .blog-cats button:not(.is-active) { background: rgba(255,255,255,.55); }
@media (min-width: 641px) {
  .blog-main .blog-grid > .post-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 0; }
  .blog-main .blog-grid > .post-card:last-child:nth-child(odd) .post-card__img { grid-column: 1; grid-row: 1 / -1; aspect-ratio: auto; min-height: 100%; }
  .blog-main .blog-grid > .post-card:last-child:nth-child(odd) > :not(.post-card__img) { grid-column: 2; margin-left: 34px; margin-right: 34px; }
  .blog-main .blog-grid > .post-card:last-child:nth-child(odd) .post-card__cat { margin-top: 34px; }
  .blog-main .blog-grid > .post-card:last-child:nth-child(odd) .post-card__more { align-self: end; margin-bottom: 34px; }
}
@media (min-width: 641px) {
  .blog-main .blog-grid > .post-card:last-child:nth-child(odd) h3,
  .blog-main .blog-grid > .post-card:last-child:nth-child(odd) p { min-height: 0; }
  .blog-main .blog-grid > .post-card:last-child:nth-child(odd) h3 { font-size: 27px; margin-bottom: 14px; }
}
body.blog-page .post-card h3 { min-height: calc(1.22em * 2); }
.blog-aside { justify-content: flex-start; }
.blog-aside__track { flex: 1 1 auto; }

/* Zonas: con 10 tarjetas la última ocupa la fila entera para que no quede suelta */
.zone:last-child:nth-child(10) { grid-column: span 4; }
@media (max-width: 980px) { .zone:last-child:nth-child(10) { grid-column: span 2; } }
@media (max-width: 560px) { .zone:last-child:nth-child(10) { grid-column: span 1; } }

/* Zonas sin página propia: llevan a sus propiedades en el mapa 3D */
.zone-crosslink--map .zone-crosslink__body::after {
  content: "Ver propiedades en el mapa"; display: inline-block; margin-top: 6px;
  padding: 2px 8px; background: rgba(255,255,255,.14);
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
}

/* ============================================================
   FICHA DE INMUEBLE (propia, con el estilo de la web)
   ============================================================ */
body.ficha-page { background: #f4f3f0; }
body.ficha-lock { overflow: hidden; }
.ficha { padding-top: 96px; }
.ficha-top { padding: 18px 0 14px; }
.ficha .crumbs { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); display: flex; flex-wrap: wrap; gap: 8px; }
.ficha .crumbs a { color: var(--steel); text-decoration: none; }
.ficha .crumbs a:hover { color: var(--ink); }

/* Galería en mosaico */
.ficha-gal { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 8px; }
.ficha-gal__item { border: 0; padding: 0; cursor: zoom-in; background: #d8d6d1 center/cover no-repeat; transition: filter .4s var(--ease); }
.ficha-gal__item:hover { filter: brightness(1.06); }
.ficha-gal__item--0 { grid-row: span 2; }
.ficha-gal--few { grid-template-columns: 2fr 1fr; }
.ficha-gal--few .ficha-gal__item--3, .ficha-gal--few .ficha-gal__item--4 { display: none; }
.ficha-gal__all { position: absolute; right: 18px; bottom: 18px; padding: 11px 18px; background: rgba(255,255,255,.94); border: 0; font: inherit; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.ficha-gal__all:hover { background: #fff; }
.ficha-gal__state { position: absolute; left: 18px; top: 18px; padding: 7px 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; background: var(--ink); color: #fff; }
.ficha-gal__state--reservada { background: #8a6d3b; }
.ficha-gal__state--alquilada { background: #4b5d6b; }

/* Cabecera: título y precio */
.ficha-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 34px 0 22px; }
.ficha-head__title { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; margin: 8px 0 0; color: var(--ink); }
.ficha-head__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.ficha-head__tags span { padding: 5px 11px; border: 1px solid rgba(0,0,0,.18); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.ficha-head__price { text-align: right; flex: none; }
.ficha-head__price s { display: block; color: var(--steel); font-size: 16px; margin-bottom: 2px; }
.ficha-head__price strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; color: var(--ink); }
.ficha-head__price span { display: block; margin-top: 6px; font-size: 12px; color: var(--steel); }

/* Datos clave */
.ficha-facts { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; border-top: 1px solid rgba(0,0,0,.1); border-bottom: 1px solid rgba(0,0,0,.1); }
.ficha-facts li { flex: 1 1 0; min-width: 120px; padding: 0 22px; border-left: 1px solid rgba(0,0,0,.08); }
.ficha-facts li:first-child { border-left: 0; padding-left: 0; }
.ficha-facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--ink); }
.ficha-facts span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); }

/* Los 4 botones */
.ficha-tools { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0 6px; }
.ficha-tools button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border: 1px solid rgba(0,0,0,.1); font: inherit; font-size: 12px; letter-spacing: .08em; color: var(--ink); cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.ficha-tools button:hover { border-color: var(--ink); box-shadow: 0 8px 22px rgba(0,0,0,.06); }
.ficha-tools svg { width: 20px; height: 20px; }

/* Dos columnas: contenido + contacto */
.ficha-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding: 30px 0 20px; }
.ficha-block { background: #fff; padding: 38px 42px; margin-bottom: 18px; }
.ficha-block h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 18px; color: var(--ink); }
.ficha-desc p { font-size: 16px; line-height: 1.8; font-weight: 300; color: #394047; margin: 0 0 14px; }
.ficha-desc.is-clamped { max-height: 380px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.ficha-more { margin-top: 10px; background: none; border: 0; border-bottom: 1px solid var(--ink); padding: 0 0 2px; font: inherit; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.ficha-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.ficha-feats li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.07); font-size: 14.5px; font-weight: 300; color: #394047; }
.ficha-feats li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--silver-grad, #b8bcc1); }
.ficha-feats li span { flex: 1; }
.ficha-feats b { font-weight: 400; color: var(--ink); text-align: right; }
.ficha-energy { display: flex; gap: 34px; }
.ficha-energy__item { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.ficha-energy__badge { min-width: 40px; padding: 6px 10px; text-align: center; color: #fff; background: #8a8f95; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ficha-energy__badge--a { background: #138a3e; } .ficha-energy__badge--b { background: #49a03b; } .ficha-energy__badge--c { background: #a3be30; }
.ficha-energy__badge--d { background: #e8c51c; color: #222; } .ficha-energy__badge--e { background: #eb9a1f; } .ficha-energy__badge--f { background: #df5b1e; } .ficha-energy__badge--g { background: #c8201f; }
.ficha-loc { font-size: 14.5px; font-weight: 300; color: #555c63; margin: -6px 0 16px; }
.ficha-map { position: relative; display: block; height: 340px; overflow: hidden; background: #2b3237; text-decoration: none; }
.ficha-map__tiles { position: absolute; inset: 0; }
.ficha-map__tiles img { position: absolute; width: 256px; height: 256px; display: block; }
.ficha-map__pin { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 0 0 9999px rgba(10,15,20,.18); z-index: 2; }
.ficha-map__cta { position: absolute; left: 18px; bottom: 18px; z-index: 3; padding: 11px 16px; background: rgba(255,255,255,.95); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }

/* Contacto lateral */
.ficha-aside { position: sticky; top: 110px; }
.ficha-agent { background: #fff; padding: 28px; }
.ficha-agent__who { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ficha-agent__who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.ficha-agent__who strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink); }
.ficha-agent__who span { font-size: 12.5px; color: var(--steel); font-weight: 300; }
.ficha-agent__btn { display: block; width: 100%; text-align: center; margin-bottom: 8px; }
.btn--ghost-dark { background: transparent; border: 1px solid rgba(0,0,0,.2); color: var(--ink); }
.btn--ghost-dark:hover { border-color: var(--ink); }
.ficha-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.08); display: grid; gap: 10px; }
.ficha-form__title { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin: 0 0 4px; }
.ficha-form label span { display: block; font-size: 11px; letter-spacing: .08em; color: var(--steel); margin-bottom: 4px; }
.ficha-form input[type=text], .ficha-form input[type=tel], .ficha-form input[type=email], .ficha-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid rgba(0,0,0,.15); background: #fafaf8; font: inherit; font-size: 14px; color: var(--ink); }
.ficha-form textarea { resize: vertical; }
.ficha-form__ok { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--steel); }
.ficha-form__ok span { display: inline; margin: 0; font-size: 12px; letter-spacing: 0; }
.ficha-form__ok a { color: var(--ink); }
.ficha-form .btn { width: 100%; }

/* Similares */
.ficha-sim { padding: 60px 0 90px; }
.ficha-sim h2 { font-family: var(--serif); font-weight: 300; font-size: 36px; margin: 6px 0 28px; }
.ficha-sim__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ficha-sim__card { background: #fff; text-decoration: none; color: var(--ink); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.ficha-sim__card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.08); transform: translateY(-3px); }
.ficha-sim__img { aspect-ratio: 4/3; background: #d8d6d1 center/cover; }
.ficha-sim__body { padding: 20px 22px 24px; }
.ficha-sim__body span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
.ficha-sim__body h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 8px 0 6px; }
.ficha-sim__body p { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; font-weight: 300; }
.ficha-sim__body strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }

/* Visor de fotos */
.ficha-lb { position: fixed; inset: 0; z-index: 200; background: rgba(8,10,12,.96); display: flex; align-items: center; justify-content: center; }
.ficha-lb[hidden] { display: none; }
.ficha-lb__img { max-width: 92vw; max-height: 84vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.ficha-lb__close { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; line-height: 1; }
.ficha-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font-size: 32px; cursor: pointer; }
.ficha-lb__nav--prev { left: 20px; } .ficha-lb__nav--next { right: 20px; }
.ficha-lb__bar { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 22px; align-items: center; color: rgba(255,255,255,.8); font-size: 12px; letter-spacing: .16em; }
.ficha-lb__play { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 7px 14px; font: inherit; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }

/* Modales: hipoteca y compartir */
.ficha-modal { position: fixed; inset: 0; z-index: 210; background: rgba(10,12,14,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ficha-modal[hidden] { display: none; }
.ficha-modal__box { position: relative; width: min(560px, 100%); background: #fff; padding: 38px 36px 30px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.ficha-modal__box--small { width: min(400px, 100%); }
.ficha-modal__box h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 22px; }
.ficha-modal__close { position: absolute; top: 10px; right: 16px; background: none; border: 0; font-size: 32px; cursor: pointer; color: var(--ink); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc span { display: block; font-size: 11px; letter-spacing: .08em; color: var(--steel); margin-bottom: 5px; }
.calc input { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid rgba(0,0,0,.15); font: inherit; font-size: 15px; }
.calc__out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 22px 0 14px; background: rgba(0,0,0,.08); }
.calc__out div { background: #f6f5f2; padding: 16px; }
.calc__out span { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.calc__out strong { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink); }
.calc__note { font-size: 12px; color: var(--steel); margin: 0; }
.share-list { display: grid; gap: 8px; }
.share-list a, .share-list button { display: block; padding: 13px 16px; border: 1px solid rgba(0,0,0,.12); background: #fff; font: inherit; font-size: 13px; letter-spacing: .06em; text-align: left; color: var(--ink); text-decoration: none; cursor: pointer; }
.share-list a:hover, .share-list button:hover { border-color: var(--ink); }

@media (max-width: 1000px) {
  .ficha-layout { grid-template-columns: 1fr; }
  .ficha-aside { position: static; }
  .ficha-sim__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ficha { padding-top: 72px; }
  .ficha-gal { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 110px; }
  .ficha-gal__item--0 { grid-column: span 2; grid-row: auto; }
  .ficha-gal__item--3, .ficha-gal__item--4 { display: none; }
  .ficha-head { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 24px; }
  .ficha-head__price { text-align: left; }
  .ficha-facts li { flex: 1 1 33%; padding: 10px 10px 10px 0; border-left: 0; }
  .ficha-facts strong { font-size: 24px; }
  .ficha-tools button { flex: 1 1 calc(50% - 10px); justify-content: center; padding: 12px 10px; font-size: 11px; }
  .ficha-block { padding: 26px 20px; }
  .ficha-feats { grid-template-columns: 1fr; }
  .ficha-map { height: 260px; }
  .ficha-sim__grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc__out { grid-template-columns: 1fr; }
  .ficha-lb__nav { width: 44px; height: 44px; font-size: 26px; }
}

/* Impresión: ficha limpia en papel */
@media print {
  .header, .mobile-menu, .footer, .whatsapp, .ficha-tools, .ficha-aside form, .ficha-agent__btn, .ficha-sim, .ficha-gal__all, .ficha-map, .ficha-more, .ficha-lb, .ficha-modal, .cookie, #cookieBanner { display: none !important; }
  body.ficha-page { background: #fff; }
  .ficha { padding-top: 0; }
  .ficha-gal { grid-template-rows: 200px 200px; }
  .ficha-gal__item { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ficha-layout { display: block; }
  .ficha-block { padding: 14px 0; }
  .ficha-desc.is-clamped { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .ficha-aside { position: static; }
  .ficha-agent { padding: 10px 0; border-top: 1px solid #ccc; }
}
.ficha-form__ok input { width: auto; flex: none; margin: 2px 0 0; }
.ficha-form__ok { line-height: 1.5; }
.ficha-head { padding-right: 70px; }
@media (max-width: 760px) { .ficha-head { padding-right: 0; } }
.ficha-map__tiles img { border: 0; }

/* Ficha: tablas Detalle / Características y certificado energético */
.ficha-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.ficha-table > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.ficha-table dt { font-size: 14px; color: var(--steel); font-weight: 400; }
.ficha-table dd { margin: 0; font-size: 14.5px; color: var(--ink); font-weight: 400; text-align: right; }
.cee { max-width: 520px; border: 1px solid rgba(0,0,0,.1); padding: 14px 16px; background: #fbfbf9; }
.cee__head { display: grid; grid-template-columns: 1fr 96px 96px; gap: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; text-align: center; }
.cee__head span:first-child { text-align: left; }
.cee__head small { letter-spacing: 0; text-transform: none; }
.cee__row { display: grid; grid-template-columns: 1fr 96px 96px; gap: 6px; align-items: center; margin-bottom: 4px; }
.cee__bar { display: block; height: 24px; line-height: 24px; padding-left: 10px; color: #fff; font-weight: 600; font-size: 14px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.cee__bar--a { background: #138a3e; } .cee__bar--b { background: #49a03b; } .cee__bar--c { background: #a3be30; }
.cee__bar--d { background: #e8c51c; color: #222; } .cee__bar--e { background: #eb9a1f; } .cee__bar--f { background: #df5b1e; } .cee__bar--g { background: #c8201f; }
.cee__cell { height: 24px; border: 1px solid rgba(0,0,0,.08); background: #fff; display: flex; align-items: center; justify-content: center; }
.cee__mark { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; background: var(--ink); color: #fff; font-size: 13px; }
.cee__mark small { font-weight: 300; font-size: 11px; }
.cee__note { margin: 12px 0 0; font-size: 13px; color: var(--steel); }
@media (max-width: 760px) {
  .ficha-table { grid-template-columns: 1fr; }
  .cee__head, .cee__row { grid-template-columns: 1fr 70px 70px; }
}
@media print { .ficha-table { grid-template-columns: 1fr 1fr; } .cee__bar, .cee__mark { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Menú Comprar: enlace a todas las propiedades */
.mega__col a.mega__all { margin-top: 8px; font-size: 13px; letter-spacing: .08em; color: var(--steel); }
.mega__col a { padding: 4px 0; }

/* ============================================================
   LISTADO DE PROPIEDADES CON FILTROS
   ============================================================ */
.listado-head { padding: 10px 0 18px; }
.listado-head__lead { max-width: 640px; font-weight: 300; color: #555c63; margin: 10px 0 0; }
.listado-filtros { padding: 8px 0 26px; }
.listado-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.listado-chips button { padding: 9px 15px; background: #fff; border: 1px solid rgba(0,0,0,.12); font: inherit; font-size: 12px; letter-spacing: .06em; color: var(--ink); cursor: pointer; transition: all .25s; }
.listado-chips button:hover { border-color: var(--ink); }
.listado-chips button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.listado-chips--sel button { font-size: 11px; padding: 7px 12px; background: transparent; }
.listado-selects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.listado-selects span { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-bottom: 5px; }
.listado-selects select { width: 100%; padding: 11px 12px; border: 1px solid rgba(0,0,0,.15); background: #fff; font: inherit; font-size: 14px; color: var(--ink); }
.listado-count { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,.1); }
.listado-count strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.listado-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ls-card { background: #fff; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.ls-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.08); transform: translateY(-3px); }
.ls-card__img { position: relative; aspect-ratio: 4/3; background: #d8d6d1 center/cover no-repeat; }
.ls-card__state { position: absolute; left: 14px; top: 14px; padding: 6px 12px; background: var(--ink); color: #fff; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.ls-card--reservada .ls-card__state { background: #8a6d3b; }
.ls-card--alquilada .ls-card__state { background: #4b5d6b; }
.ls-card--vendida .ls-card__img::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.18); }
.ls-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ls-card__place { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
.ls-card__body h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; margin: 8px 0 6px; }
.ls-card__body p { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; font-weight: 300; }
.ls-card__price { margin-top: auto; }
.ls-card__price s { font-size: 13px; color: var(--steel); margin-right: 8px; }
.ls-card__price strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.listado-vacio { padding: 40px; background: #fff; text-align: center; color: var(--steel); }
.listado-more { text-align: center; padding: 34px 0 80px; }
@media (max-width: 1000px) { .listado-grid { grid-template-columns: 1fr 1fr; } .listado-selects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .listado-grid { grid-template-columns: 1fr; }
  .listado-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; }
  .listado-chips button { flex: none; }
}

/* Logo sobre fondo claro (cabecera al hacer scroll, blog, fichas): versión oscura del icono */
.header.is-scrolled .logo__icon { background-image: url('img/logo-icono-oscuro.png'); }
.intro .logo__icon { background-size: contain; animation: none; }

/* ============================================================
   LOGO ORIGINAL COMPLETO (edificios, tejados, ola, AP INVEST · REAL ESTATE)
   Plata sobre fondos oscuros; grafito sobre fondos claros.
   ============================================================ */
.logo { --logo-w: 104px; }
.logo .logo__icon { width: var(--logo-w); aspect-ratio: 520 / 473; background: url('img/logo-ap-invest-plata.png') center / contain no-repeat; }
.logo .logo__name, .logo .logo__sub { display: none; }
.header.is-scrolled .logo { --logo-w: 74px; }
.header.is-scrolled .logo .logo__icon { background-image: url('img/logo-ap-invest-oscuro.png'); }
.logo--footer { --logo-w: 170px; }
.intro .logo { --logo-w: 220px; }
@media (max-width: 760px) { .logo { --logo-w: 80px; } .header.is-scrolled .logo { --logo-w: 62px; } .logo--footer { --logo-w: 140px; } }

/* ===== TRADICIONES (página de zona) ===== */
.zone-trad { padding: 110px 0; background: var(--white); }
.zone-trad__head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.zone-trad__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.zone-trad__card { background: #f6f5f2; overflow: hidden; display: flex; flex-direction: column; }
.zone-trad__img { aspect-ratio: 4 / 3; background: #ccc center / cover no-repeat; transition: transform .6s ease; }
.zone-trad__card:hover .zone-trad__img { transform: scale(1.04); }
.zone-trad__body { padding: 26px 26px 30px; position: relative; background: #f6f5f2; }
.zone-trad__body span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.zone-trad__body h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 28px; margin: 6px 0 12px; color: var(--ink, #111); }
.zone-trad__body p { font-size: 14px; line-height: 1.65; color: #4a4a4a; }
@media (max-width: 900px) { .zone-trad__grid { grid-template-columns: 1fr; } .zone-trad { padding: 80px 0; } }
@media (max-width: 560px) {
  .zone-market__grid { gap: 12px; }
  .zone-market__card { min-width: 0; padding: 24px 16px; }
  .zone-market__card strong { font-size: 26px; overflow-wrap: anywhere; }
}

/* ===== RAFA NADAL (página de Manacor) ===== */
.zone-nadal { background: var(--ink); color: #fff; padding: 110px 0; }
.zone-nadal__wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 70px; align-items: center; }
.zone-nadal__text p { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.75; margin-top: 18px; }
.zone-nadal__text strong { color: #fff; font-weight: 500; }
.zone-nadal__facts { list-style: none; display: grid; gap: 18px; }
.zone-nadal__facts li { border: 1px solid rgba(255,255,255,.18); padding: 24px 28px; }
.zone-nadal__facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: #fff; }
.zone-nadal__facts span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .zone-nadal { padding: 80px 0; } .zone-nadal__wrap { grid-template-columns: 1fr; gap: 36px; } }

/* ===== Página de zona sin inmuebles todavía ===== */
.zone-sin-oferta .zone-hero__stats, .zone-sin-oferta .zone-market__card:not(.zone-market__card--mercado) { display: none; }
.zone-sin-oferta .zone-market .section-head__lead { display: none; }
.zone-sin-oferta .zone-market__grid { grid-template-columns: minmax(0, 360px); justify-content: center; }
.zone-empty { background: #fff; border-left: 3px solid var(--ink); padding: 28px 32px; margin: 0 0 34px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.zone-empty[hidden] { display: none; }
.zone-empty p { margin: 0; max-width: 640px; font-size: 15px; line-height: 1.7; color: #444; }
.zone-empty strong { color: var(--ink); font-weight: 500; }

.listado-more .btn[hidden] { display: none; }

/* Cifras de la portada: tres columnas */
.stats__grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { grid-column: span 2; }
}

.zone-hero__stat[hidden] { display: none; }

.form__error { margin-top: 12px; font-size: 14px; color: #b3261e; }
.form__error a { color: inherit; text-decoration: underline; }

/* Ficha dinámica (inmuebles recién dados de alta en el CRM) */
.ficha--dinamica { transition: opacity .3s ease; }
.ficha--dinamica.is-loading { opacity: 0; }
.ficha-note { font-size: 14px; font-style: italic; color: #6b7178; margin: -4px 0 14px; }
.ficha-nf { padding: 160px 0 120px; text-align: center; max-width: 640px; }
.ficha-nf h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(30px, 4vw, 44px); margin: 0 0 14px; }
.ficha-nf p { color: #555c63; font-weight: 300; margin: 0 0 26px; }
.ficha-nf .btn { margin: 6px; }

/* Logo oficial de FAI junto al número de Agente Inmobiliario Registrado */
.badge-logo { height: 52px; padding: 6px 14px; display: grid; place-items: center; background: #fff; border-radius: 2px; }
.badge-logo img { display: block; height: 40px; width: auto; max-width: 150px; object-fit: contain; }
.badge-logo span { display: none; font-family: var(--serif); font-size: 20px; letter-spacing: .1em; color: var(--platinum); }
.badge-logo.is-text { background: none; border: 1px solid rgba(255,255,255,.2); width: 78px; padding: 0; }
.badge-logo.is-text img { display: none; }
.badge-logo.is-text span { display: block; }

/* Vídeo del inmueble (YouTube, se carga solo al pulsar play) */
.ficha-gal__video { position: absolute; right: 18px; bottom: 66px; padding: 11px 18px; background: var(--ink, #14171a); color: #fff; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.ficha-gal__video:hover { background: #000; }
.ficha-video__frame { position: relative; aspect-ratio: 16 / 9; background: #111 center / cover no-repeat; overflow: hidden; }
.ficha-video__frame--v { aspect-ratio: 9 / 16; max-width: 360px; max-height: 80vh; margin: 0 auto; }
.ficha-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ficha-video__play { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background: rgba(0,0,0,.28); display: grid; place-items: center; transition: background .2s; }
.ficha-video__play:hover { background: rgba(0,0,0,.4); }
.ficha-video__play span { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.95); position: relative; }
.ficha-video__play span::after { content: ''; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #14171a; }
@media (max-width: 700px) { .ficha-gal__video { bottom: 62px; right: 12px; } }
@media print { .ficha-video, .ficha-gal__video { display: none !important; } }
.ficha-video { scroll-margin-top: 110px; }
