:root {
  --home-navy: #16365d;
  --home-blue: #0c61b2;
  --home-blue-soft: #eaf4fb;
  --home-yellow: #ffe03d;
  --home-green: #07963c;
  --home-ink: #18385c;
  --home-muted: #58708b;
  --home-border: #e1eaf2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--home-ink); background: #fff; font-family: "Segoe UI", Arial, sans-serif; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.home-shell { width: min(1280px, calc(100% - 72px)); margin-inline: auto; }
.home-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; border-radius: 6px; }
.home-skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--home-blue); outline-offset: 3px; }

.home-header { position: relative; z-index: 20; background: linear-gradient(105deg, #ffed63, #ffe137); }
.home-header-inner { display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 1fr); align-items: center; gap: 28px; min-height: 88px; }
.home-brand { display: inline-flex; flex-direction: column; align-items: flex-start; width: fit-content; padding: 7px 0 5px; }
.home-brand img { display: block; width: 250px; height: auto; }
.home-brand small { align-self: center; color: #18365a; font-size: 10px; font-weight: 800; letter-spacing: .01em; }
.home-nav { display: flex; align-items: center; gap: clamp(15px, 2.1vw, 31px); white-space: nowrap; }
.home-nav a { position: relative; padding: 12px 0; font-size: 14px; font-weight: 600; }
.home-nav a::after { content: ""; position: absolute; inset: auto 0 4px; height: 2px; background: var(--home-blue); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.home-nav a:hover::after, .home-nav a.is-current::after { transform: scaleX(1); }
.home-nav-favorites .fa { margin-right: 3px; color: #b92747; }
.home-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 45px; padding: 0 19px; border-radius: 12px; background: var(--home-green); color: white; font-size: 15px; font-weight: 750; white-space: nowrap; transition: background-color .15s ease, transform .15s ease; }
.home-whatsapp:hover { background: #087d34; transform: translateY(-1px); }
.home-whatsapp .fa { font-size: 22px; }
.home-header-whatsapp { justify-self: end; }
.home-menu-toggle { display: none; align-items: center; justify-content: center; width: 43px; height: 43px; border: 1px solid rgba(22,54,93,.25); border-radius: 9px; background: rgba(255,255,255,.4); color: var(--home-navy); font-size: 21px; }

.home-hero { position: relative; min-height: 420px; background-image: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.79) 34%, rgba(255,255,255,.14) 69%, rgba(255,255,255,.04) 100%), url("../imgs/fotoaereaarroiodosal.jpg"); background-size: cover; background-position: center 47%; overflow: hidden; }
.home-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 75px; background: linear-gradient(transparent, rgba(6,53,94,.12)); pointer-events: none; }
.home-hero-inner { display: flex; justify-content: space-between; gap: 30px; padding-top: 58px; }
.home-hero-copy { max-width: 600px; }
.home-eyebrow { margin: 0 0 10px; color: var(--home-blue); font-size: 12px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.home-hero h1 { margin: 0; color: #112f52; font-size: clamp(49px, 6.1vw, 80px); font-weight: 800; letter-spacing: -.045em; line-height: .99; }
.home-hero-copy > p:last-child { max-width: 445px; margin: 22px 0 0; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.38; }
.home-hero-signature { align-self: flex-start; margin: 18px 2% 0 0; color: #12375e; font-family: Georgia, serif; font-size: clamp(21px, 2.3vw, 30px); font-style: italic; line-height: 1.2; text-align: right; transform: rotate(-8deg); text-shadow: 0 1px 10px rgba(255,255,255,.8); }

.home-search-wrap { position: relative; z-index: 5; margin-top: -52px; }
.home-search { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(180px, 1.08fr); gap: 8px; padding: 9px; border: 1px solid #e2e9f0; border-radius: 15px; background: #fff; box-shadow: 0 14px 33px rgba(24,54,90,.17); }
.home-search-field { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 62px; padding: 7px 13px; border: 1px solid #d5e2ee; border-radius: 9px; cursor: pointer; }
.home-search-field:focus-within { border-color: var(--home-blue); box-shadow: 0 0 0 2px rgba(12,97,178,.15); }
.home-search-field > .fa { flex: 0 0 21px; color: var(--home-navy); font-size: 22px; text-align: center; }
.home-search-field > span { display: block; flex: 1; min-width: 0; }
.home-search-label { display: block; color: var(--home-muted); font-size: 11px; line-height: 1.1; }
.home-search-field select { display: block; width: 100%; margin-top: 5px; padding: 0 18px 0 0; border: 0; background: transparent; color: var(--home-navy); font-size: 13px; font-weight: 650; outline: 0; cursor: pointer; text-overflow: ellipsis; }
.home-search-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; padding: 0 15px; border: 0; border-radius: 9px; background: var(--home-blue); color: #fff; font-size: 15px; font-weight: 750; white-space: nowrap; }
.home-search-button:hover { background: #094f96; }
.home-search-button .fa { font-size: 18px; }
.home-amenities { grid-column: 1 / -1; padding: 7px 3px 2px; border-top: 1px solid #edf2f7; }
.home-amenities-title { display: block; margin: 0 0 7px 3px; color: var(--home-muted); font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.home-amenities-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.home-amenity { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 42px; padding: 8px 10px; border: 1px solid var(--home-border); border-radius: 8px; background: #f8fbfe; color: var(--home-navy); font-size: 13px; font-weight: 650; cursor: pointer; }
.home-amenity:hover { border-color: #a9cdea; background: #f0f8fd; }
.home-amenity:has(input:checked) { border-color: #8abce1; background: #e8f4fc; }
.home-amenity:focus-within { outline: 2px solid var(--home-blue); outline-offset: 2px; }
.home-amenity input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--home-blue); }
.home-amenity .fa { flex: none; width: 17px; color: var(--home-blue); font-size: 16px; text-align: center; }
.home-amenity span { min-width: 0; }
.home-code-search { display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin: 12px 0 0 auto; padding: 6px; border: 1px solid #d5e2ee; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(24,54,90,.08); }
.home-code-search label { padding: 0 8px; color: var(--home-navy); font-size: 13px; font-weight: 750; white-space: nowrap; }
.home-code-search input[type=text] { width: 166px; min-width: 0; min-height: 39px; padding: 8px 11px; border: 1px solid #d5e2ee; border-radius: 7px; background: #fff; color: var(--home-navy); font: 650 13px/1.3 "Segoe UI", Arial, sans-serif; }
.home-code-search input[type=text]:focus { border-color: var(--home-blue); outline: 2px solid rgba(12,97,178,.18); }
.home-code-search button { display: inline-flex; align-items: center; gap: 7px; min-height: 39px; padding: 0 14px; border: 0; border-radius: 7px; background: var(--home-blue); color: #fff; font: 750 13px/1 "Segoe UI", Arial, sans-serif; cursor: pointer; }
.home-code-search button:hover { background: #094f96; }

.home-shortcuts { padding: 39px 0 22px; background: linear-gradient(#fff, #f8fbfe); }
.home-shortcut-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.home-shortcut-grid a { display: flex; min-height: 101px; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 12px 5px; border: 1px solid #edf3f8; border-radius: 11px; background: #f4f9fd; text-align: center; font-size: 13px; font-weight: 750; box-shadow: 0 2px 8px rgba(13,70,118,.025); }
.home-shortcut-grid a:hover { border-color: #bddef4; background: #eaf5fd; }
.home-shortcut-grid .fa { color: var(--home-navy); font-size: 30px; line-height: 1; }

.home-featured { padding-top: 27px; padding-bottom: 63px; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
.home-section-heading h2, .home-destination h2, .home-contact-strip h2 { margin: 0; color: #133252; font-size: clamp(25px, 2.5vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.14; }
.home-section-heading p { margin: 5px 0 0; color: var(--home-muted); font-size: 16px; }
.home-text-link { padding-bottom: 4px; color: #075ba7; font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.home-text-link .fa { margin-left: 7px; text-decoration: none; }
.home-property-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.home-property-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #e7edf3; border-radius: 11px; background: #fff; box-shadow: 0 7px 24px rgba(17,50,82,.07); }
.home-property-media { position: relative; height: 205px; overflow: hidden; background: #e8f1f8; }
.home-property-media > a { display: block; width: 100%; height: 100%; }
.home-property-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-photo-fallback { display: flex; width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #527394; font-size: 13px; }
.home-photo-fallback .fa { font-size: 34px; }
.home-property-badge { position: absolute; top: 11px; left: 11px; max-width: calc(100% - 65px); overflow: hidden; padding: 7px 9px; border-radius: 7px; background: #0c62ae; color: #fff; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.home-property-badge .fa { margin-right: 4px; }
.home-favorite { position: absolute; top: 10px; right: 10px; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(22,54,93,.28); color: #fff; font-size: 19px; backdrop-filter: blur(4px); }
.home-favorite[aria-pressed="true"] { background: #fff; color: #d74656; }
.home-property-content { display: flex; flex: 1; flex-direction: column; padding: 14px 14px 13px; }
.home-property-content h3 { margin: 0; color: #143359; font-size: 16px; font-weight: 800; line-height: 1.22; }
.home-property-content h3 a:hover { color: var(--home-blue); }
.home-property-summary { min-height: 34px; margin: 5px 0 11px; color: var(--home-muted); font-size: 12px; line-height: 1.3; }
.home-property-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 7px; min-height: 64px; margin: 0 0 13px; padding: 0; list-style: none; }
.home-property-features li { min-width: 0; color: #294c73; font-size: 11px; white-space: nowrap; }
.home-property-features .fa { width: 19px; margin-right: 3px; color: #143f72; font-size: 16px; text-align: center; }
.home-property-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid #e9eef3; }
.home-property-bottom > span { color: #446181; font-size: 11px; white-space: nowrap; }
.home-property-bottom a { display: inline-flex; align-items: center; gap: 12px; padding: 8px 11px; border-radius: 9px; background: var(--home-yellow); color: #12355b; font-size: 12px; font-weight: 750; white-space: nowrap; }
.home-property-bottom a:hover { background: #f4ce22; }
.home-empty { padding: 26px; border-radius: 10px; background: #f4f9fd; }
.home-empty a { color: var(--home-blue); text-decoration: underline; }

.home-destination { padding: 28px 0; background: #f1f8fd; }
.home-destination-grid { display: grid; grid-template-columns: 1.33fr 1.08fr .72fr; align-items: stretch; gap: 25px; }
.home-destination-photo { display: block; width: 100%; min-height: 255px; height: 100%; border-radius: 9px; object-fit: cover; object-position: 48% 44%; }
.home-destination-copy { align-self: center; }
.home-destination-copy .home-eyebrow { margin-bottom: 7px; }
.home-destination-copy h2 { max-width: 390px; }
.home-destination-copy > p:not(.home-eyebrow) { max-width: 460px; margin: 12px 0 13px; color: #37587b; font-size: 14px; line-height: 1.46; }
.home-outline-button { display: inline-flex; align-items: center; gap: 18px; padding: 8px 18px; border: 1px solid var(--home-blue); border-radius: 30px; color: #0b569d; font-size: 13px; font-weight: 750; }
.home-outline-button:hover { background: #e1f1fc; }
.home-destination-highlights { display: grid; grid-template-columns: repeat(2, 1fr); align-content: center; gap: 17px 5px; padding: 19px 8px; border-radius: 9px; background: #fff9ee; }
.home-destination-highlights span { color: #21466d; font-size: 12px; line-height: 1.3; text-align: center; }
.home-destination-highlights .fa { display: block; margin-bottom: 9px; color: #143b68; font-size: 30px; }

.home-contact-strip { position: relative; overflow: hidden; padding: 27px 0; background: #fffaf0; }
.home-contact-strip::before, .home-contact-strip::after { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; background: repeating-conic-gradient(from 20deg, rgba(192,167,113,.17) 0 7deg, transparent 7deg 20deg); pointer-events: none; }
.home-contact-strip::before { bottom: -100px; left: -68px; }
.home-contact-strip::after { top: -100px; right: -62px; }
.home-contact-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.home-contact-inner h2 { font-size: 26px; }
.home-contact-inner p { margin: 5px 0 0; font-size: 13px; }
.home-contact-inner .home-whatsapp { min-height: 47px; border-radius: 26px; }

.home-footer { background: #173e5a; color: #f2f8fc; }
.home-footer-grid { display: grid; grid-template-columns: 1.5fr .72fr 1.2fr; gap: 35px; padding-top: 33px; padding-bottom: 31px; }
.home-footer h2 { margin: 0 0 10px; color: #fff; font-size: 13px; font-weight: 750; }
.home-footer a { display: block; width: fit-content; margin: 4px 0; color: #e0ebf3; font-size: 12px; }
.home-footer a:hover { color: var(--home-yellow); }
.home-footer p { margin: 6px 0; color: #d1e2ee; font-size: 12px; line-height: 1.55; }
.home-footer p .fa, .home-footer a .fa { width: 17px; margin-right: 4px; }
.home-footer-brand img { display: block; width: 215px; height: auto; padding: 5px 7px; border-radius: 5px; background: #ffeb87; }
.home-footer-brand small { display: block; max-width: 215px; margin-top: 4px; color: #fff; font-size: 10px; font-weight: 700; text-align: center; }
.home-footer-brand p { max-width: 230px; margin-top: 11px; }
.home-footer-bottom { border-top: 1px solid rgba(255,255,255,.3); }
.home-footer-bottom .home-shell { display: flex; justify-content: space-between; gap: 18px; padding-top: 13px; padding-bottom: 13px; color: #c8dbe8; font-size: 11px; }

@media (max-width: 1100px) {
  .home-shell { width: min(100% - 48px, 1280px); }
  .home-header-inner { gap: 13px; }
  .home-brand img { width: 218px; }
  .home-nav { gap: 15px; }
  .home-nav a { font-size: 13px; }
  .home-header-whatsapp { padding-inline: 12px; font-size: 13px; }
  .home-destination-grid { grid-template-columns: 1.2fr 1fr; }
  .home-destination-highlights { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .home-header-inner { grid-template-columns: 1fr auto auto; min-height: 78px; }
  .home-brand img { width: 200px; }
  .home-menu-toggle { display: inline-flex; order: 2; }
  .home-header-whatsapp { order: 3; }
  .home-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; border-top: 1px solid rgba(22,54,93,.14); background: #ffe54a; box-shadow: 0 10px 20px rgba(22,54,93,.16); }
  .home-nav.is-open { display: flex; }
  .home-nav a { padding: 11px 7px; }
  .home-nav a::after { display: none; }
  .home-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-search-button { grid-column: 1 / -1; }
  .home-amenities-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-shortcut-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .home-shell { width: calc(100% - 32px); }
  .home-header-inner { gap: 8px; min-height: 69px; }
  .home-brand img { width: 155px; }
  .home-brand small { font-size: 8px; }
  .home-menu-toggle { width: 39px; height: 39px; }
  .home-header-whatsapp { width: 39px; min-height: 39px; padding: 0; overflow: hidden; font-size: 0; }
  .home-header-whatsapp .fa { font-size: 21px; }
  .home-hero { min-height: 375px; background-image: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.64) 63%, rgba(255,255,255,.16)), url("../imgs/fotoaereaarroiodosal.jpg"); background-position: 54% 50%; }
  .home-hero-inner { padding-top: 44px; }
  .home-hero h1 { font-size: clamp(43px, 12vw, 60px); }
  .home-hero-copy > p:last-child { max-width: 325px; margin-top: 15px; font-size: 16px; }
  .home-hero-signature { display: none; }
  .home-search-wrap { margin-top: -32px; }
  .home-search { grid-template-columns: 1fr; gap: 7px; padding: 8px; }
  .home-search-field, .home-search-button { min-height: 56px; }
  .home-search-button { grid-column: auto; }
  .home-amenities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-code-search { width: 100%; flex-wrap: wrap; }
  .home-code-search label { flex-basis: 100%; padding: 4px 5px 0; }
  .home-code-search input[type=text] { flex: 1; width: auto; }
  .home-shortcuts { padding-top: 24px; }
  .home-shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .home-shortcut-grid a { min-height: 85px; font-size: 12px; }
  .home-shortcut-grid .fa { font-size: 25px; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .home-section-heading p { font-size: 14px; }
  .home-property-grid { grid-template-columns: 1fr; }
  .home-property-media { height: 225px; }
  .home-property-content { padding: 16px; }
  .home-property-summary { min-height: auto; }
  .home-property-features { min-height: auto; }
  .home-destination-grid { grid-template-columns: 1fr; gap: 17px; }
  .home-destination-photo { height: 235px; min-height: 0; }
  .home-destination-highlights { grid-column: auto; grid-template-columns: repeat(2, 1fr); }
  .home-contact-inner { align-items: flex-start; flex-direction: column; }
  .home-contact-inner .home-whatsapp { width: 100%; }
  .home-footer-grid { grid-template-columns: 1fr 1fr; gap: 23px 16px; }
  .home-footer-brand { grid-column: 1 / -1; }
  .home-footer-bottom .home-shell { flex-direction: column; gap: 4px; }
}

@media (max-width: 360px) {
  .home-brand img { width: 135px; }
  .home-brand small { font-size: 7px; }
  .home-footer-grid { grid-template-columns: 1fr; }
  .home-footer-brand { grid-column: auto; }
}
