/* Portada de inicio. Marca original y fotografia aportada, sin dependencias. */
.page-home .home-cover{
  --cover-gutter:clamp(28px,4.4vw,96px);
  display:grid;
  grid-template-columns:46% 54%;
  min-height:calc(100svh - var(--h-open-height,112px));
  background:var(--green);
  color:#f8f4eb;
  isolation:isolate;
}
.home-cover-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:64px clamp(28px,3.4vw,72px) 0 var(--cover-gutter);
}
.home-cover .cover-eyebrow{
  margin-bottom:32px;
  color:#c2d4ca;
  font:500 10px/1.6 var(--sans);
  letter-spacing:.19em;
  text-transform:uppercase;
}
.home-cover h1{
  margin:0;
  font:400 clamp(60px,6.65vw,116px)/1.04 var(--serif);
  letter-spacing:-.05em;
}
.home-cover h1 span,.home-cover h1 em{display:block}
.home-cover h1 em{color:#a9d1ee;font-family:Newsreader,var(--serif);font-style:italic;letter-spacing:-.04em}
.home-cover .cover-description{max-width:300px;margin-top:30px;color:#d6e1d9;font-size:16px;line-height:1.65}
.cover-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:32px}
.cover-primary{
  display:inline-flex;align-items:center;justify-content:center;gap:22px;
  min-height:54px;padding:15px 22px;border:1px solid #f8f4eb;
  background:#f8f4eb;color:var(--green);font-size:13px;
  transition:background .2s,border-color .2s;
}
.cover-primary:hover{background:#c4dff1;border-color:#c4dff1}
.cover-primary svg,.cover-secondary svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.cover-secondary{display:inline-flex;align-items:center;gap:12px;min-height:48px;border-bottom:1px solid #8ca89a;font-size:13px;color:#f8f4eb}
.cover-secondary:hover{border-color:#f8f4eb;color:#c4dff1}
.home-cover a:focus-visible{outline:2px solid #a9d1ee;outline-offset:6px}
.cover-explore{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  align-self:stretch;margin-top:auto;padding:48px 0 28px;
  color:#b6cdc0;font-size:11px;
}
.cover-explore span{display:inline-flex;align-items:center;gap:12px}
.cover-explore:after{content:'';flex:1;height:1px;background:#ffffff26}
.cover-explore svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.cover-explore:hover{color:#fff}
.home-cover-visual{position:relative;align-self:stretch;min-width:0;margin:0;overflow:hidden;background:#b8b2a2}
.home-cover-visual picture{display:block;position:absolute;inset:0}
.home-cover-visual img{width:100%;height:100%;object-fit:cover;object-position:55% 0}
.home-cover-visual:after{content:'';position:absolute;inset:65% 0 0;background:linear-gradient(transparent,#0b2112bd);pointer-events:none}
.home-cover-visual figcaption{position:absolute;z-index:1;right:var(--cover-gutter);left:32px;bottom:30px;color:#fff;font:500 11px/1.6 var(--sans);letter-spacing:.025em;text-shadow:0 1px 4px #0008}
.home-cover-visual figcaption span{display:block;margin-bottom:5px;font:italic 27px/1.2 Newsreader,var(--serif);letter-spacing:0}
#buscar-inmueble{scroll-margin-top:0}
@media(min-width:1800px){.home-cover-copy{padding-top:80px}.home-cover .cover-description{font-size:18px;max-width:340px}.cover-actions{margin-top:40px}}
@media(min-width:801px) and (max-height:800px){.home-cover-copy{padding-top:44px}.home-cover .cover-eyebrow{margin-bottom:22px}.home-cover h1{font-size:clamp(60px,6.2vw,100px)}.home-cover .cover-description{margin-top:22px}.cover-actions{margin-top:24px}.cover-explore{padding-top:32px}}
@media(max-width:1100px) and (min-width:801px){.home-cover-copy{padding-left:32px;padding-right:28px}.home-cover .cover-eyebrow{letter-spacing:.12em;font-size:9px}.cover-actions{gap:14px}.cover-primary{padding-left:18px;padding-right:18px;gap:14px}.cover-secondary{gap:8px}}
@media(max-width:800px){
  .page-home .home-cover{grid-template-columns:1fr;grid-template-rows:auto minmax(270px,1fr);min-height:calc(100svh - 92px)}
  .home-cover-copy{padding:38px 24px 0}
  .home-cover .cover-eyebrow{margin-bottom:22px;font-size:9px;letter-spacing:.13em}
  .home-cover h1{max-width:600px;font-size:clamp(44px,8.8vw,68px);line-height:1.04}
  .home-cover h1 span{display:inline}
  .home-cover .cover-description{margin-top:20px;font-size:14px;max-width:320px}
  .cover-actions{margin-top:24px;gap:14px 20px}
  .cover-primary{min-height:50px;padding:13px 18px;font-size:12px;gap:16px}
  .cover-secondary{font-size:12px;gap:9px;min-height:46px}
  .cover-explore{margin-top:0;padding:26px 0 22px;font-size:10px}
  .home-cover-visual{min-height:270px}
  .home-cover-visual img{object-position:50% 0}
  .home-cover-visual figcaption{bottom:20px;left:24px;right:24px;font-size:10px}
  .home-cover-visual figcaption span{font-size:24px;margin-bottom:3px}
}
@media(max-width:360px){.home-cover h1{font-size:clamp(36px,11.3vw,41px)}.home-cover-copy{padding-top:30px}.home-cover .cover-eyebrow{font-size:8px;letter-spacing:.1em}.cover-actions{column-gap:12px}.cover-primary{padding-left:12px;padding-right:12px;gap:10px;font-size:11px}.cover-secondary{gap:6px;font-size:11px}.cover-explore{padding-top:24px}}
@media(prefers-reduced-motion:no-preference){.home-cover h1,.home-cover .cover-description,.cover-actions{animation:cover-arrive .75s ease-out both}@keyframes cover-arrive{from{opacity:.35;transform:translateY(12px)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){.cover-primary{transition:none}}

/* La portada comparte margen y altura de referencia con la panoramica. */
@media(min-width:1024px){
  .page-home .home-cover{--cover-gutter:max(var(--h-gutter,4vw),calc((100vw - 1800px)/2 + var(--h-gutter,4vw)))}
  .page-home .home-cover-copy{padding-top:48px;padding-left:var(--cover-gutter)}
  .page-home .home-cover h1{font-size:clamp(56px,min(6.2vw,10.2svh),106px)}
  .page-home .home-cover .cover-description{margin-top:24px}
  .page-home .home-cover .cover-actions{margin-top:26px}
  .page-home .home-cover .cover-person{margin-top:24px}
  .page-home .home-cover .cover-explore{padding-top:36px;padding-bottom:40px}
}
@media(min-width:801px) and (max-height:800px){
  .page-home .home-cover-copy{padding-top:32px}
  .page-home .home-cover h1{font-size:clamp(52px,min(5.8vw,9.6svh),92px)}
  .page-home .home-cover .cover-description{font-size:14px;margin-top:20px}
  .page-home .home-cover .cover-actions{margin-top:22px}
  .page-home .home-cover .cover-primary{min-height:50px;padding-top:13px;padding-bottom:13px}
  .page-home .home-cover .cover-person{margin-top:20px;min-height:48px}
  .page-home .home-cover .cover-explore{padding-top:24px;padding-bottom:36px}
}
@media(min-width:801px) and (max-height:700px){
  .page-home .home-cover-copy{padding-top:24px}
  .page-home .home-cover h1{font-size:clamp(48px,min(5.8vw,8.8svh),84px)}
  .page-home .home-cover .cover-description{margin-top:16px}
  .page-home .home-cover .cover-actions{margin-top:18px}
  .page-home .home-cover .cover-person{margin-top:16px;min-height:44px}
  .page-home .home-cover .cover-person>img{width:42px;height:42px}
  .page-home .home-cover .cover-explore{padding-top:20px;padding-bottom:32px}
}
