a { color: inherit; }
.nav a.lnk { padding-block: 6px; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a.lnk:hover, .nav a.lnk[aria-current] { border-bottom-color: var(--atlantic); }
.nav a, .g-body .g-go, .regions a { text-decoration: none; }
.lang > * { padding: 5px 10px; font-family: var(--f-mono); font-size: .72rem; }
.lang [aria-current] { background: var(--ink); color: var(--bg); }
.lang [hreflang="pt"] { order: -1; }
.site-footer-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.5rem; }
.hero2 .slide img, .thumbs img, .site-card img, .d-hero > img, .gallery img, .lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero2 .h2-copy h1 { max-width: 11ch; }
.hero-regions { margin-inline-start: auto; }
.hero2 .h2-copy h1 em { display: block; white-space: nowrap; }
.hero-regions .ic { flex: none; }
.regions a { display: inline-flex; align-items: center; gap: 8px; }
.hero-greeting { max-width: 100%; }
.hero-greeting .live { flex: none; }
.chips a { background: var(--tint); border: 1px solid transparent; border-radius: 99px; padding: 5px 12px; font-size: .84rem; text-decoration: none; }
.chips a:hover { border-color: var(--atlantic); }
.region-towns { color: var(--muted); font-size: .78rem; }
.wlist li[id] { scroll-margin-top: 95px; }
.ig-tile img, .q-img img { position: absolute; width: 100%; height: 100%; inset: 0; display: block; object-fit: cover; }
.q-card { text-decoration: none; }
.q-body[hidden], .q-card[hidden], .qwrap[hidden], .mode[hidden] { display: none; }
.f-logo .logo-mark { justify-items: start; }
.f-logo .logo-wave { display: none; }
.f-grid a { overflow-wrap: anywhere; text-decoration: none; }
.f-grid a:hover { text-decoration: underline; }
.availability h1 { margin-top: 0; }
.availability .c-line { overflow-wrap: anywhere; }
.availability .c-line .ic { flex-shrink: 0; }
.availability-back { margin-top: 24px; }
.availability-form .errorlist { margin: 6px 0 0; padding: 0; list-style: none; }
.availability-form .errorlist, .availability-errors { color: #9c3a33; }
[data-mode="night"] .availability-form .errorlist, [data-mode="night"] .availability-errors { color: #ffada4; }
.g-body .g-go { margin-top: 14px; }
.thumbs { grid-template-columns: repeat(auto-fit, minmax(38px, 1fr)); }
[data-carousel-controls][hidden] { display: none; }
.regions a:hover { text-decoration: underline; }
#casas, #sobre, #contactos { scroll-margin-top: 85px; }
.site-card { display: block; text-decoration: none; }
.site-card .ph { overflow: hidden; }
.site-card .ph img { position: absolute; inset: 0; }
.property-detail .crumb { padding-top: 62px; }
.property-detail .crumb a { text-underline-offset: 3px; }
.d-hero > img, .gallery img { position: absolute; inset: 0; }
.d-all { text-decoration: none; }
.d-head h1 { margin-top: 12px; }
.d-head .loc, .property-distance { display: flex; align-items: center; gap: 8px; }
.ficha .property-region { font-size: 1.35rem; line-height: 1.4; overflow-wrap: anywhere; }
.d-body .property-amenities-heading { margin-top: 40px; }
.property-gallery { scroll-margin-top: 90px; }
.property-gallery h2 { margin-bottom: 18px; font-size: 1.7rem; }
.property-gallery .gallery > a { display: block; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.property-gallery .gallery > a:first-child { grid-column: span 2; grid-row: span 2; }
.property-gallery .g-more { text-decoration: none; }
.property-gallery a:hover .g-more { background: rgba(10, 30, 36, .4); }
.property-nav { margin-top: 56px; }
.property-nav a { display: grid; gap: 4px; text-decoration: none; }
.property-nav a:last-child { text-align: right; }
.property-nav a:hover b { text-decoration: underline; }
.property-video { margin-top: 20px; }
.fc[hidden], .property-lightbox:not([open]), .property-sheet-dialog:not([open]) { display: none; }
.property-lightbox, .property-sheet-dialog {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0;
}
.property-lightbox {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}
.property-lightbox .lb-x { display: block; }
.property-lightbox .lb-top { min-width: 0; overflow-wrap: anywhere; }
.property-lightbox .lb-count, .property-lightbox .lb-top form { flex-shrink: 0; }
.property-lightbox .lb-top form { margin-left: auto; }
.property-lightbox .lb-img { display: block; object-fit: contain; min-height: 0; max-height: 100%; }
.property-lightbox .lb-thumbs { min-width: 0; max-width: 100%; scrollbar-width: none; overscroll-behavior-x: contain; }
.property-lightbox .lb-thumbs::-webkit-scrollbar { display: none; }
.property-lightbox .lb-thumbs img { border-radius: 4px; }
.property-lightbox::backdrop { background: rgba(8, 14, 16, .65); }
.property-sheet-dialog::backdrop { background: transparent; }
.property-sheet-standalone { padding-block: 32px 60px; }
.property-detail .fi-photo { overflow: hidden; }
.property-detail .fi-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.property-detail .fi-specs b, .property-detail .fi-foot { overflow-wrap: anywhere; }
html:has(.property-lightbox[open], .property-sheet-dialog[open]) { overflow: hidden; }
@media (max-width: 640px) {
  .property-detail .crumb { padding-top: 44px; }
  .property-detail .clim-row { gap: 12px; }
  .property-detail .cl-ic { display: none; }
  .property-gallery .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-gallery .gallery > a:first-child { grid-row: span 2; }
}
@media print {
  @page property-sheet { size: A4; margin: 12mm; }
  html:has(.property-detail) { overflow: visible; padding: 0; background: #fff; }
  body:has(.property-detail) { background: #fff; }
  body:has(.property-detail) > :not(main),
  .property-detail > :not(.property-sheet-dialog, .property-sheet-standalone),
  .property-detail .fi-bar { display: none; }
  .property-detail { animation: none; }
  .property-detail :is(.property-sheet-dialog, .property-sheet-standalone) {
    page: property-sheet;
    position: static;
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    padding: 0;
    overflow: visible;
    background: #fff;
  }
  .property-detail .fi { max-width: none; display: block; }
  .property-detail .fi-sheet {
    padding: 0;
    border-radius: 0;
    gap: 4mm;
    font-size: 10pt;
  }
  .property-detail .fi-photo { aspect-ratio: 21 / 8; }
  .property-detail .fi-grid { gap: 4mm; }
  .property-detail :is(.fi-head, .fi-photo, .fi-specs, .fi-foot) { break-inside: avoid; }
  .property-detail .fi-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .property-detail .fi-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-detail .fi-sheet h3 { break-after: avoid; }
}
@media (max-width: 900px) {
  .hero2 .h2-in { min-height: 610px; align-content: space-between; }
  .hero-regions { margin-inline-start: 0; }
  .hero2 .h2-copy h1 em { white-space: normal; }
  .hero2::after { background: linear-gradient(90deg, rgb(8 18 22 / 72%), rgb(8 18 22 / 34%)), linear-gradient(0deg, rgb(8 18 22 / 54%), transparent 40%); }
}
@media (max-width: 1100px) {
  .hero2 .h2-copy h1 em { white-space: normal; }
}
@media (max-width: 420px) {
  .top .wrap { gap: 8px; }
  .nav { gap: 8px; }
  .hero2 .h2-in { min-height: 560px; }
  .hero2 .h2-top { margin-top: 4px; }
  .hero2 .hero-actions .btn { padding-inline: 16px; }
  .hero-greeting [data-clock] { display: none; }
}
@media (max-width: 360px) {
  .top:not(.scrolled) .logo #logoSvg { height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2 .g-body > div, .q-body, .q-card, .hero2 .thumbs i, .hero2 .live, .scroll-cue::after { animation: none; }
  .totop, .tt-ring .tt-p { transition: none; }
}
