:root {
  --ink: #122a39;
  --muted: #4a606b;
  --line: #d7dddc;
  --paper: #f7f5ef;
  --sand: #ecb370;
  color: var(--ink);
  font: 16px/1.5 "GT America", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 24px }
body { margin: 0; background: #fff }
a { color: inherit; text-decoration: none }
a:hover { text-decoration: underline; text-underline-offset: 4px }
button, input, select { font: inherit; color: inherit }
button, select { cursor: pointer }
button:disabled { opacity: .48; cursor: default }
.wrap { width: min(1280px, 90%); margin-inline: auto }
.skip { position: absolute; z-index: 10; padding: 12px; background: #fff; transform: translateY(-160%) }
.skip:focus { transform: none }
header { min-height: 84px; display: flex; align-items: center; gap: clamp(12px, 2.8vw, 36px) }
header nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: clamp(12px, 2.5vw, 34px) }
.brands { flex: none }
.exp-logo { display: block; width: 66px; height: auto; padding: 4px 8px; border-radius: 4px; background: var(--ink) }
.brand { display: flex; align-items: center; gap: 10px; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1 }
.lang { border-left: 1px solid var(--line); padding-left: 14px; display: flex; align-items: center; gap: 5px; font-size: .875rem }
.lang a { display: block; padding: 5px 7px; border-radius: 4px }
.lang a[aria-current] { background: var(--paper); font-weight: 700 }
.button, button {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; border: 1px solid transparent;
  border-radius: 5px; padding: 11px 19px; font-weight: 600; line-height: 1.35; min-height: 44px;
}
.button:hover, button:hover:not(:disabled) { text-decoration: none; filter: brightness(1.16) }
.accent { background: var(--sand); color: #1d2730 }
.outline { background: transparent; border-color: #ffffffab; color: #fff }
.hero {
  position: relative; min-height: min(680px, 74vh); display: grid; align-items: center; color: #fff;
  background: #3b4e50 url(assets/cala-mendia.webp) center / cover;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none }
.hero-video-toggle { position: absolute; right: 5%; bottom: 12px; min-height: 36px; padding: 6px 12px; border-color: #ffffffab; background: #122a39e6; font-size: .875rem }
.hero::before { pointer-events: none; z-index: 1; content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0d242de8, #0d242d94 53%, #0d242d28) }
.hero > .wrap { position: relative; z-index: 2; padding-block: 74px 84px }
.hero-video-toggle { z-index: 2 }
.over { text-transform: uppercase; letter-spacing: .12em; font-size: .84rem; font-weight: 700; margin: 0 0 10px }
.hero .over, .national-intro .over { color: #ffcb95 }
h1, h2 { font-weight: 600; letter-spacing: -.055em; line-height: 1.01 }
h1 { margin: 12px 0 22px; font-size: clamp(3rem, 7vw, 6.3rem) }
.hero h1 em { font: italic 400 1.05em/.94 Georgia, serif; letter-spacing: -.065em }
.hero p:not(.over), .national-intro p:not(.over) { max-width: 485px; font-size: clamp(1.08rem, 2.1vw, 1.3rem); margin: 0 0 24px }
.actions, .card-actions, .footlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px }
.catalogue, .national-results { padding-block: clamp(42px, 7vw, 88px) }
.sectionhead, footer .wrap { display: flex; justify-content: space-between; gap: 16px; align-items: end }
.sectionhead { margin-bottom: 22px }
h2 { font-size: clamp(2.15rem, 4.7vw, 4rem); margin: 0 0 16px }
.sectionhead h2 { margin: 0 }
.under { text-decoration: underline; text-underline-offset: 4px }
.search, .pager {
  display: grid; grid-template-columns: repeat(2, 1.05fr) 1.5fr 1.15fr .8fr auto;
  align-items: end; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
}
label { display: grid; gap: 5px; font-size: .9rem; font-weight: 600 }
input, select { width: 100%; min-width: 0; height: 44px; padding: 8px 11px; border: 1px solid #aebbbe; border-radius: 4px; background: #fff; font-size: 1rem; font-weight: 400 }
.text-button { grid-column: 1/-1; justify-self: start; color: var(--ink); background: transparent; text-decoration: underline; padding: 0 2px; min-height: 34px }
#status, #info, .confirmation { color: var(--muted) }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden }
.photo { display: block; position: relative; aspect-ratio: 1.55; background: #e5e9e9; overflow: hidden }
.photo img, .feature-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease }
.photo:hover img { transform: scale(1.04) }
.photo span { position: absolute; inset: 12px auto auto 12px; padding: 4px 10px; background: white; border-radius: 4px; font-size: .84rem; font-weight: 600 }
.card h3 { margin: 13px 15px 3px; font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.25 }
.card p { margin: 3px 15px; color: var(--muted); overflow-wrap: anywhere }
.price { margin: auto 15px 0; padding-block: 8px 10px; font-size: 1.18rem; font-weight: 700 }
.card-actions { border-top: 1px solid var(--line); padding: 11px 15px; justify-content: space-between; font-size: .94rem; font-weight: 600 }
.more { display: flex; margin: 30px auto 0 }
.confirmation { font-size: .91rem }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center }
.feature { overflow: hidden; border-radius: 8px; background: var(--paper) }
.feature-photo { height: 100%; min-height: 320px; display: block }
.feature-copy { padding: clamp(24px, 5vw, 66px) }
.feature h2 { font-size: clamp(2rem, 3.8vw, 3.45rem) }



.national-intro { color: #fff; background: var(--ink); padding-block: clamp(40px, 7vw, 84px) }




footer { padding: 25px 0; font-size: .91rem }
footer .wrap { flex-wrap: wrap; align-items: center }
.national-intro h1 { font-size: clamp(2.6rem, 5.2vw, 4.7rem) }
.pager { display: flex; flex-wrap: wrap }
.pager input { width: 94px }
.catalogue-fallback { margin-bottom: 25px; padding: 16px; border: 1px solid var(--line); border-radius: 5px }
.catalogue-fallback a { display: inline-block; margin: 8px }
[hidden] { display: none !important }
:focus-visible { outline: 3px solid #b65b12; outline-offset: 3px }
.hero :focus-visible, .national-intro :focus-visible { outline-color: #ffd1a4 }
@media (max-width: 1000px) {
  .search { grid-template-columns: repeat(3, 1fr) }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 770px) {
  header { gap: 12px; padding-block: 12px; flex-wrap: wrap }
  header nav { order: 4; width: 100%; margin: 0; padding: 8px 0 0; border-top: 1px solid var(--line); gap: 6px 16px; font-size: .92rem }
  .lang { margin-left: auto; padding-left: 6px; border: 0 }
  .exp-logo { width: 48px; padding-inline: 5px }
  .brand { gap: 7px; font-size: 1.1rem }
  header .button { padding-inline: 9px; font-size: .9rem }
  .feature { grid-template-columns: 1fr }

  .feature-photo { min-height: auto; aspect-ratio: 1.45 }
  .sectionhead { align-items: start; flex-direction: column }
}
@media (max-width: 530px) {
  .hero { min-height: 430px }
  .hero::before { background: linear-gradient(90deg, #0d242de8, #0d242d61) }
  .search { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .search label:nth-child(3) { grid-column: 1/-1 }
  .search button[type="reset"] { grid-column: auto }
  .grid { grid-template-columns: 1fr }
}
@media (max-width: 380px) {
  header { gap: 6px }
  .exp-logo { width: 42px }
  header .lang { gap: 2px; padding-left: 0 }
  header .lang a { padding-inline: 4px }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  * { transition: none !important }
}
.property-detail { padding-block: clamp(32px, 6vw, 72px) }
.property-detail h1 { font-size: clamp(2.4rem, 5vw, 4.5rem) }
.property-detail img { display: block; width: min(100%, 900px); max-height: 65vh; object-fit: contain; object-position: left; margin-block: 24px; border-radius: 6px }
.site-information { padding-block: 24px }
.site-information h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: 8px }



.property-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; list-style: none; }
.property-facts[hidden] { display: none; }
.property-detail details { margin: 1.5rem 0; }
.property-detail summary { cursor: pointer; font-weight: 600; }
.property-detail .property-gallery { margin-top: 1rem; }
.property-detail .property-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; object-position: center; margin: 0; }








.detail-description { max-width: 720px }
.detail-language { margin-left: auto }
.detail-language a { padding: 10px 4px }
