:root {
    color-scheme: light;
    --ink: #173a5e;
    --ink-soft: #536b80;
    --paper: #f4f7fb;
    --card: #ffffff;
    --line: #dce5ee;
    --accent: #2867a5;
    --on-ink: #ffffff;
    --danger: #8c2f2f;
    --shadow: 0 12px 32px rgba(23, 58, 94, 0.08);
    --page-max: 1180px;
    --page-gutter: 24px;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
:focus-visible { outline: 3px solid #005fcc; outline-offset: 2px; }
.container { box-sizing: border-box; width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--page-gutter); }
h1, h2, h3 { margin: 0; font-family: inherit; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
p { margin: 0; }
.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; }
.site-header { position: relative; z-index: 2; min-height: 78px; padding: 10px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header-inner { display: flex; align-items: center; gap: 32px; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand img { display: block; width: 165px; height: auto; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a, .site-footer a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-soft); text-decoration: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 22px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font-weight: 650; text-align: center; text-decoration: none; cursor: pointer; transition: transform 180ms cubic-bezier(.2, 0, 0, 1), background 180ms ease; }
.button:hover { transform: translateY(-1px); background: #1d5489; }
.button-small { min-height: 44px; padding: 8px 17px; }
.button-outline { background: transparent; }
.button-outline:hover { background: var(--card); }
.hero { position: relative; display: flex; align-items: center; min-height: 600px; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.hero-inner { position: relative; z-index: 1; padding-block: 74px; }
.hero h1 { max-width: 780px; margin: 12px 0 20px; font-size: clamp(2.8rem, 6vw, 5.5rem); }
.eyebrow { color: var(--accent); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-copy { max-width: 510px; margin-bottom: 30px; color: var(--on-ink); font-size: 1.15rem; }
.acervo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-block: 27px; border-bottom: 1px solid var(--line); }
.acervo div { display: grid; gap: 2px; }
.acervo strong { font-size: 1.6rem; font-weight: 650; }
.acervo span { color: var(--ink-soft); }
.search-panel { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: end; gap: 12px; max-width: 980px; padding: 20px; background: rgba(255,252,248,.92); box-shadow: var(--shadow); color: var(--ink); backdrop-filter: blur(16px); }
label { display: grid; gap: 7px; color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.form-field { display: grid; gap: 7px; }
input, select { width: 100%; min-width: 0; height: 46px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 0; background: var(--card); color: var(--ink); }
.section { padding-block: 88px 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-heading h2 { margin-top: 8px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 700; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.property-card { min-width: 0; background: var(--card); border: 1px solid var(--line); transition: transform 180ms cubic-bezier(.2, 0, 0, 1); }
.property-card:hover { transform: translateY(-2px); }
.card-image { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 3 / 4; background: #e8eff6; }
.card-image img { display: block; width: auto; height: auto; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.image-placeholder, .detail-placeholder { display: grid; width: 100%; height: 100%; place-content: center; background: #e8eff6; color: var(--ink-soft); font-size: 1.3rem; }
.purpose-tag { position: absolute; top: 14px; left: 14px; padding: 7px 11px; background: var(--accent); color: #fff; font-size: .85rem; font-weight: 700; }
.card-body { padding: 20px; }
.card-price { margin-bottom: 8px; font-size: 1.55rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.card-body h3 { font-size: 1.35rem; }
.card-body h3 a { text-decoration: none; }
.card-location { margin-top: 8px; color: var(--ink-soft); }
.card-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 15px; color: var(--ink-soft); }
.agency-name { display: flex; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .92rem; }
.agency-name img { display: block; width: min(100%, 180px); height: 48px; object-fit: contain; object-position: left center; background: #fff; }
.agency-name span { min-width: 0; overflow-wrap: anywhere; }
.empty-state { padding: 42px; border: 1px solid var(--line); background: var(--card); }
.empty-state h2, .empty-state h3 { margin-bottom: 10px; font-size: 1.55rem; }
.empty-state .text-link { margin-top: 12px; }
.how-section { padding-block: 80px 92px; background: #eaf1f8; }
.how-section h2 { margin-top: 9px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 42px; }
.steps article { padding-top: 19px; border-top: 2px solid var(--accent); }
.steps article > span { color: var(--accent); font-weight: 700; }
.steps h3 { margin: 14px 0 9px; font-size: 1.35rem; }
.steps p { color: var(--ink-soft); }
.site-footer { padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.site-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: inline-flex; align-items: center; text-decoration: none; }
.footer-brand img { display: block; width: 160px; height: auto; }
.page-intro { padding-block: 64px 32px; }
.page-intro h1 { margin: 9px 0; font-size: clamp(2.4rem, 4vw, 3.5rem); }
.page-intro > p:last-child { color: var(--ink-soft); }
.listing-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 30px; padding-bottom: 96px; }
.filters { display: grid; gap: 17px; padding: 22px; border: 1px solid var(--line); background: var(--card); }
.filters h2 { margin-bottom: 3px; font-size: 1.45rem; }
.filter-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filter-pair input { padding-inline: 7px; }
.filters .button { width: 100%; }
.clear-filters { min-height: 44px; display: grid; place-content: center; color: var(--ink-soft); }
.listing-results { min-width: 0; }
.listing-results .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pagination { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; padding-block: 16px; color: var(--ink-soft); line-height: 1; }
.breadcrumbs a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs span { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); }
.gallery { margin-bottom: 38px; }
.gallery-stage { display: grid; touch-action: pan-y; }
.gallery-main { display: grid; place-items: center; height: min(72vh, 620px); min-height: 300px; overflow: hidden; background: #e8eff6; }
.gallery-main { container-type: size; }
.gallery-frame { position: relative; width: fit-content; max-width: 100%; max-height: 100%; }
.gallery-frame img { width: auto; height: auto; max-width: 100%; max-height: min(72vh, 620px); }
.gallery-nav { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: rgba(23, 58, 94, .78); color: #fff; cursor: pointer; transform: translateY(-50%); }
.gallery-nav:hover { background: rgba(23, 58, 94, .92); }
.gallery-nav svg { width: 22px; height: 22px; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(23, 58, 94, .78); color: #fff; font-size: .85rem; font-variant-numeric: tabular-nums; }
.gallery-photo { display: block; width: fit-content; max-width: 100%; margin: 0; padding: 0; border: 0; background: transparent; line-height: 0; cursor: zoom-in; }
.gallery-photo img { pointer-events: none; }
.gallery-photo:focus-visible, .gallery-thumb:focus-visible, .gallery-nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.gallery-max { top: 12px; right: 12px; transform: none; z-index: 2; }
.gallery-lightbox {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #102a40;
}
.gallery-lightbox::backdrop { background: #102a40; }
.gallery-lightbox img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-close { top: 16px; right: 16px; transform: none; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.detail-actions .button, .detail-share { gap: 8px; }
.detail-share { margin-top: 10px; width: min(100%, 420px); }
.button svg { width: 18px; height: 18px; flex: none; }
.button-whatsapp { background: #08796c; border-color: #08796c; color: #fff; }
.button-whatsapp:hover { background: #066458; border-color: #066458; }
.button-whatsapp:active { background: #054e44; border-color: #054e44; }
.action-sheet {
    width: min(420px, calc(100% - 24px));
    margin: auto 12px 12px;
    padding: 22px;
    border: 0;
    border-radius: 16px;
    color: var(--ink);
    background: #fff;
}
.action-sheet::backdrop { background: rgba(16, 42, 64, .45); }
.action-sheet h2 { margin: 0 0 16px; font-size: 1.2rem; }
.action-sheet form { margin-top: 18px; }
.sheet-links { margin-top: 0; }
.sheet-status { margin-top: 12px; color: var(--accent); font-weight: 650; }
@media (min-width: 720px) {
    .action-sheet { margin: auto; }
    .detail-share { width: auto; }
}
.video-list { display: grid; gap: 16px; margin: 0 0 28px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #0d253d; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; z-index: 1; border: 0; background: rgba(13, 37, 61, .35); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.video-play[hidden] { display: none; }
.channel-links, .share-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.share-links > span { color: var(--ink-soft); font-size: .92rem; font-weight: 650; }
.icon-link { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; background: #eaf1f8; color: var(--accent); text-decoration: none; }
.icon-link svg { width: 22px; height: 22px; display: block; }
.icon-link:hover { background: var(--accent); color: #fff; }
.card-channels { margin-top: 10px; }
.card-channels .icon-link { width: 36px; height: 36px; }
.card-channels .icon-link svg { width: 18px; height: 18px; }
.gallery-main img { display: block; width: auto; height: auto; min-width: 0; min-height: 0; max-width: 100%; max-height: min(72vh, 620px); object-fit: contain; }
.gallery-thumbs { position: relative; z-index: 1; display: flex; gap: 10px; overflow-x: auto; margin-top: 12px; padding-top: 2px; }
.gallery-thumb { display: grid; place-items: center; flex: 0 0 72px; width: 72px; height: 72px; padding: 0; border: 2px solid transparent; background: #e8eff6; cursor: pointer; }
.gallery-thumb.is-active { border-color: var(--accent); }
.gallery-thumb img { display: block; width: auto; height: auto; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.detail-placeholder { min-height: 340px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 48px; padding-bottom: 96px; }
.detail-copy h1 { margin: 8px 0 12px; font-size: clamp(2rem, 4vw, 3.4rem); }
.detail-location { margin-bottom: 5px; color: var(--ink-soft); }
.detail-offers { display: grid; gap: 10px; margin: 25px 0; }
.detail-offer { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.detail-offer span { color: var(--ink-soft); }
.detail-offer strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.facts-section, .description-section { margin-top: 44px; }
.facts-section h2, .description-section h2 { margin-bottom: 19px; font-size: 1.75rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 22px; margin: 0 0 17px; }
.facts div { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 700; }
.prose { max-width: 65ch; color: var(--ink-soft); white-space: normal; }
.description-clip { position: relative; max-width: 65ch; }
.description-clip.is-collapsed { max-height: 6.8em; overflow: hidden; }
.description-clip.is-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.6em;
    background: linear-gradient(to bottom, transparent, var(--paper));
    pointer-events: none;
}
.description-section [data-description-toggle] { margin-top: 8px; }
.feature-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 9px 12px; border: 1px solid var(--line); background: var(--card); }
.detail-sidebar { position: sticky; top: 20px; display: grid; gap: 16px; }
.agency-card, .lead-card { padding: 23px; border: 1px solid var(--line); background: var(--card); }
.agency-card img { display: block; max-width: 100%; max-height: 64px; object-fit: contain; object-position: left; margin-bottom: 10px; }
.agency-card p { margin-bottom: 4px; color: var(--ink-soft); font-size: .9rem; }
.lead-card h2 { margin: 7px 0 20px; font-size: 1.65rem; }
.lead-card form { display: grid; gap: 8px; }
.lead-card form label:not(:first-child) { margin-top: 5px; }
.lead-card form .button { width: 100%; margin-top: 7px; }
.form-hint { color: var(--ink-soft); font-size: .86rem; }
.form-error { margin-bottom: 12px; color: var(--danger); }
.form-success { padding: 14px; border-left: 2px solid var(--accent); background: var(--paper); }
.message-page { min-height: 55vh; padding-block: 100px; }
.message-page h1 { max-width: 800px; margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 3.3rem); }
.message-page > p:not(.eyebrow) { margin-bottom: 24px; color: var(--ink-soft); }

@media (max-width: 1099px) {
    .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .listing-results .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-panel .button { width: 100%; }
}

@media (max-width: 719px) {
    body { font-size: 16px; }
    :root { --page-gutter: 16px; }
    .site-header { min-height: 68px; }
    .site-header-inner { gap: 10px; }
    .brand { gap: 7px; }
    .brand img { width: 130px; }
    .main-nav { gap: 10px; }
    .main-nav a { font-size: .9rem; }
    .header-cta { display: none; }
    .hero { min-height: 630px; }
    .hero-inner { padding-block: 52px; }
    .hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
    .search-panel { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
    .section { padding-block: 64px; }
    .acervo { gap: 10px; padding-block: 20px; }
    .acervo strong { font-size: 1.3rem; }
    .acervo span { font-size: .88rem; }
    .section-heading { align-items: start; }
    .section-heading h2 { font-size: 1.8rem; }
    .section-heading .text-link { white-space: nowrap; }
    .property-grid, .listing-results .property-grid { grid-template-columns: 1fr; gap: 16px; }
    .steps { grid-template-columns: 1fr; gap: 25px; margin-top: 28px; }
    .how-section { padding-block: 64px; }
    .site-footer { padding: 19px 0; }
    .site-footer-inner { align-items: start; flex-direction: column; gap: 3px; }
    .footer-brand img { width: 148px; }
    .site-footer a { min-height: 38px; }
    .page-intro { padding-block: 45px 24px; }
    .listing-layout { grid-template-columns: 1fr; gap: 22px; padding-bottom: 64px; }
    .filter-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery { margin-inline: calc(-1 * var(--page-gutter)); width: calc(100% + 2 * var(--page-gutter)); margin-bottom: 25px; }
    .gallery-main { height: min(72vh, 620px); min-height: 300px; }
    .gallery-thumbs { padding-inline: 16px; }
    .detail-layout { grid-template-columns: 1fr; gap: 32px; padding-bottom: 64px; }
    .detail-sidebar { position: static; }
    .facts { grid-template-columns: 1fr; }
    .detail-placeholder { min-height: 250px; }
    .message-page { padding-block: 70px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .property-card:hover, .button:hover { transform: none; }
}

body { background: var(--paper); }
.site-header { min-height: 78px; border-bottom-color: var(--line); background: #fff; }
.main-nav a:hover, .site-footer a:hover, .text-link:hover { color: var(--accent); }
.button, .button-small { border-radius: 8px; }
.button-outline { color: var(--accent); }
.button-outline:hover { background: #edf4fa; }
.hero { min-height: 440px; }
.search-panel { border: 1px solid rgba(255,255,255,.55); border-radius: 12px; box-shadow: 0 10px 34px rgba(13, 37, 61, .14); }
input, select { border-color: #d3deea; border-radius: 7px; background: #fff; }
input:focus, select:focus { border-color: var(--accent); }
.property-card, .filters, .empty-state, .agency-card, .lead-card { border-color: var(--line); border-radius: 12px; }
.property-card { overflow: hidden; }
.purpose-tag { border-radius: 5px; }
.how-section { background: #eaf1f8; }
.site-footer { border-top-color: var(--line); background: #fff; }
.breadcrumbs { padding-block: 18px; font-size: .9rem; }
.gallery { margin-bottom: 26px; }
.gallery-main { height: min(72vh, 620px); min-height: 300px; border-radius: 12px; }
.gallery-thumbs { gap: 8px; padding-top: 9px; }
.gallery-thumbs { scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb { flex-basis: 72px; width: 72px; height: 72px; overflow: hidden; border: 2px solid transparent; border-radius: 7px; }
.detail-placeholder { min-height: 300px; border-radius: 12px; }
.detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 8px 0 18px; border-bottom: 1px solid var(--line); }
.property-reference { margin-bottom: 7px; color: var(--ink-soft); font-size: .88rem; font-weight: 600; }
.detail-heading h1 { max-width: 780px; font-size: clamp(1.8rem, 3.2vw, 2.65rem); }
.detail-location { margin-top: 9px; color: var(--ink-soft); }
.detail-address { padding-top: 12px; color: var(--ink-soft); font-size: .92rem; }
.map-link { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 650; }
@media (min-width: 1100px) {
    .detail-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 52px; padding-top: 30px; }
}
.detail-offers { gap: 0; margin: 0 0 32px; border-bottom: 1px solid var(--line); }
.detail-offer { justify-content: flex-start; align-items: center; gap: 22px; padding: 0 0 18px; border-bottom: 0; }
.detail-offer + .detail-offer { padding-top: 14px; border-top: 1px solid var(--line); }
.detail-offer span { min-width: 100px; color: var(--ink-soft); }
.detail-offer strong { color: var(--ink); font-size: 1.65rem; }
.detail-contact-link { justify-self: start; min-height: 44px; margin: 15px 0 18px; }
.facts-section, .description-section { margin-top: 32px; }
.facts-section h2, .description-section h2 { margin-bottom: 12px; font-size: 1.35rem; letter-spacing: -.01em; }
.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
.facts div { justify-content: flex-start; gap: 8px; padding: 12px 0; }
.facts dt, .facts dd { font-size: .95rem; }
.facts dd { margin-left: auto; }
.feature-list { gap: 8px; }
.feature-list li { padding: 7px 10px; border: 0; border-radius: 5px; background: #eaf1f8; color: var(--ink); font-size: .92rem; }
.detail-sidebar { top: 18px; }
.lead-card { padding: 22px; box-shadow: var(--shadow); }
.lead-agency { display: flex; align-items: center; gap: 12px; margin-bottom: 21px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.lead-agency img { width: 52px; height: 52px; flex: 0 0 52px; border: 1px solid var(--line); border-radius: 8px; object-fit: contain; }
.lead-agency div { display: grid; gap: 3px; min-width: 0; }
.lead-agency span { color: var(--ink-soft); font-size: .82rem; }
.lead-agency strong { overflow-wrap: anywhere; }
.lead-card h2 { margin: 0 0 8px; font-size: 1.25rem; letter-spacing: -.01em; }
.lead-intro { margin: 0 0 12px; color: var(--ink-soft); font-size: .88rem; }
.lead-card form { gap: 6px; }
.lead-card form label:not(:first-child) { margin-top: 8px; }
.lead-card form .button { margin-top: 8px; }
.form-hint { margin-top: 3px; }
.form-success { border-radius: 6px; border-left-color: var(--accent); background: #edf4fa; }
.form-error { padding: 10px 12px; border-radius: 6px; background: #fcf1f1; }
.stay-cal { margin: 0 0 14px; }
.stay-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.stay-cal-head h3 { margin: 0; font-size: .88rem; font-weight: 650; }
.stay-cal-nav { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.stay-cal-dow { font-size: .68rem; line-height: 1.2; color: var(--ink-soft); font-weight: 650; }
.stay-cal-day {
    display: grid;
    place-items: center;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    width: 100%;
    background: #eef3f8;
    color: var(--ink);
    font-family: inherit;
    font-size: .78rem;
    font-weight: 650;
    line-height: 1;
}
button.stay-cal-day { cursor: pointer; }
button.stay-cal-day:hover { background: #d9e6f2; }
.stay-cal-day.is-muted { background: transparent; min-height: 32px; }
.stay-cal-day.is-past { background: transparent; color: var(--ink-soft); font-weight: 500; }
.stay-cal-day.is-busy {
    background-color: #b34538;
    background-image: repeating-linear-gradient(-45deg, #b34538 0 3px, #8d3429 3px 4px);
    color: #fff;
}
.stay-cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.stay-cal-day.is-pick { background: #1f6f54; color: #fff; }
.stay-cal-legend { display: flex; gap: 8px 12px; align-items: center; margin: 8px 0 0; font-size: .72rem; color: var(--ink-soft); flex-wrap: wrap; }
.stay-cal-swatch { width: 8px; height: 8px; border-radius: 2px; display: inline-block; border: 1px solid var(--line); background: #eef3f8; vertical-align: middle; }
.stay-cal-swatch.is-busy {
    background-color: #b34538;
    background-image: repeating-linear-gradient(-45deg, #b34538 0 2px, #8d3429 2px 3px);
    border-color: #b34538;
}
.stay-cal-swatch.is-pick { background: #1f6f54; border-color: #1f6f54; }
.stay-form .stay-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.stay-form .stay-dates label { margin-top: 0; }
.stay-form .button-whatsapp { margin-top: 8px; width: 100%; }
@media (min-width: 720px) and (max-width: 1099px) {
    .detail-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
}

@media (max-width: 719px) {
    .site-header { min-height: 68px; }
    .hero { min-height: 580px; }
    .gallery-main { height: min(72vh, 620px); min-height: 300px; border-radius: 0; }
    .detail-heading { align-items: start; flex-direction: column; gap: 8px; }
    .detail-heading h1 { font-size: clamp(1.65rem, 8vw, 2.2rem); }
    .map-link { min-height: 38px; }
    .detail-layout { gap: 26px; padding-top: 24px; }
    .lead-card { padding: 18px; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
    .detail-copy .detail-offers { margin-bottom: 28px; }
    .saved-list li { grid-template-columns: 96px 1fr; }
    .saved-list .button { grid-column: 2; }
}

.site-header-inner { flex-wrap: wrap; }
.main-nav { flex-wrap: wrap; row-gap: 0; }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav-count { min-width: 1.4rem; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; line-height: 1.5rem; text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.card-image > a { position: absolute; inset: 0; display: grid; place-items: center; color: inherit; text-decoration: none; }
.favorite-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.favorite-toggle svg { width: 22px; height: 22px; display: block; }
.card-image .favorite-toggle { position: absolute; top: 10px; right: 10px; z-index: 2; }
.purpose-tag { z-index: 2; }
.favorite-toggle[aria-pressed="true"] { background: var(--accent); color: #fff; }
.favorite-toggle[aria-pressed="true"] svg path { fill: currentColor; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.title-row h1 { min-width: 0; }
.prose { display: grid; gap: 14px; max-width: 680px; margin-top: 18px; }
.prose p { color: var(--ink-soft); }
.saved-actions { margin-top: 18px; }
.saved-empty { margin-top: 18px; color: var(--ink-soft); }
.saved-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.saved-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.saved-list img, .saved-thumb { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; background: #eaf1f8; }
.saved-list a { color: var(--ink); font-weight: 650; text-decoration: none; }
.saved-list p { color: var(--ink-soft); font-size: .92rem; }
.saved-copy { display: grid; gap: 4px; min-width: 0; }
.saved-copy span { color: var(--ink-soft); font-size: .85rem; }

.ai-search { display: grid; gap: 10px; max-width: 980px; margin-bottom: 14px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.55); border-radius: 12px; background: #fff; box-shadow: 0 10px 34px rgba(13, 37, 61, .14); color: var(--ink); }
.ai-search label { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 1rem; font-weight: 700; }
.ai-badge { display: inline-grid; place-content: center; min-width: 30px; height: 24px; padding: 0 7px; border-radius: 6px; background: var(--accent); color: #fff; font-size: .75rem; letter-spacing: .06em; }
.ai-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 12px; }
.ai-search textarea { width: 100%; min-width: 0; min-height: 52px; padding: 12px; border: 1px solid #d3deea; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; resize: vertical; }
.ai-search textarea:focus { border-color: var(--accent); }
.ai-search .button { align-self: stretch; min-width: 150px; }
.ai-search-status { min-height: 0; color: var(--ink-soft); font-size: .9rem; }
.ai-search-status:empty { display: none; }
.ai-search.is-busy .button { opacity: .75; cursor: progress; }
.ai-area { padding-bottom: 24px; }
.ai-area .ai-search { max-width: none; box-shadow: var(--shadow); border-color: var(--line); }
.ai-result { display: grid; gap: 10px; padding: 16px 20px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; background: #edf4fa; }
.ai-result-error { border-left-color: var(--danger); background: #fcf1f1; }
.ai-result-title { font-weight: 700; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ai-chips li { padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid #c9d9ea; font-size: .92rem; font-weight: 600; }
.ai-note, .ai-count { color: var(--ink-soft); font-size: .93rem; }
.filter-features { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.filter-features legend { margin-bottom: 7px; color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.filter-features label { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.filter-features input { width: 18px; height: 18px; }
@media (max-width: 719px) {
    .ai-search { padding: 14px; }
    .ai-search-row { grid-template-columns: 1fr; }
    .ai-search .button { min-height: 46px; }
}
