/* Álamo Propiedades — Architectural Motion & Interaction System
 * Philosophy: unmistakable architectural calm, tactile responsiveness, spatial continuity, GPU-only compositing.
 */

:root {
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
    --dropdown-open-dur: 220ms;
    --dropdown-close-dur: 140ms;
    --dropdown-pre-scale: 0.96;
    --dropdown-closing-scale: 0.98;
    --dropdown-ease: var(--ease-out);
    --learn-shift: 6px;
    --learn-dur: 220ms;
    --color-favorite: #b9382c;
}

/* ==========================================================================
   1. Sticky Architectural Header & Choreographed Hero Opening
   Pure CSS compositor animations (transform / opacity / clip-path) — works without JS,
   never blocks clicks, collapses to calm opacity fade under prefers-reduced-motion.
   ========================================================================== */

.header-scroll-sentinel {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 16px;
    pointer-events: none;
}

/* Scrolled header styling & active nav pills live in navigation.css */

/* Rebalanced hero photograph & founders diptych choreography */
.home-page .hero-band .hero-image {
    border-radius: 12px;
    overflow: hidden;
    animation: alamo-hero-curtain 880ms var(--ease-editorial) 240ms both;
}

.home-page .hero-band .hero-image > img,
.home-page .hero-band .hero-image > video {
    display: block;
    border-radius: 0;
    transform-origin: center center;
    animation: alamo-hero-settle 1200ms var(--ease-editorial) 240ms both;
}

.home-page .hero-founder--german .hero-founder-frame {
    animation: alamo-hero-curtain 760ms var(--ease-editorial) 200ms both;
}

.home-page .hero-founder--partner .hero-founder-frame {
    animation: alamo-hero-curtain 760ms var(--ease-editorial) 275ms both;
}

.home-page .hero-founder--german figcaption {
    animation: alamo-rise-in 500ms var(--ease-editorial) 300ms both;
}

.home-page .hero-founder--partner figcaption {
    animation: alamo-rise-in 500ms var(--ease-editorial) 360ms both;
}

.home-page .hero-founders-meta {
    animation: alamo-rise-in 540ms var(--ease-editorial) 340ms both;
}

.home-page .hero-band .hero-baseline {
    padding-top: 22px;
    animation: alamo-rise-in 560ms var(--ease-editorial) 520ms both;
}

/* Masked editorial typography lines */
.hero-line-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 0.09em;
    margin-bottom: -0.09em;
}

.hero-line {
    display: block;
    animation: alamo-line-rise 720ms var(--ease-editorial) both;
}

.hero-line--1 {
    animation-delay: 90ms;
}

.hero-line--2 {
    animation-delay: 185ms;
}

.home-page .hero-intro .home-owner-intro {
    animation: alamo-rise-in 640ms var(--ease-editorial) 240ms both;
}

/* Header opening wave on home page (mobile nav dropdown excluded so it stays closed) */
.home-page .site-header .brand {
    animation: alamo-nav-drop 480ms var(--ease-editorial) 0ms both;
}

@media (min-width: 701px) {
    .home-page .site-header .nav-links {
        animation: alamo-nav-drop 500ms var(--ease-editorial) 70ms both;
    }
}

.home-page .site-header .header-actions,
.home-page .site-header > .button,
.home-page .site-header .menu-toggle {
    animation: alamo-nav-drop 500ms var(--ease-editorial) 130ms both;
}

@keyframes alamo-nav-drop {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes alamo-line-rise {
    from {
        opacity: 0;
        transform: translateY(104%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes alamo-rise-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes alamo-hero-curtain {
    from {
        opacity: 0;
        transform: translateY(22px);
        clip-path: inset(12% 0 0 0 round 12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0 round 12px);
    }
}

@keyframes alamo-hero-settle {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

@keyframes alamo-fade-only {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes alamo-page-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes alamo-photo-settle {
    from {
        transform: scale(1.06);
    }
    to {
        transform: scale(1);
    }
}

/* Inner-page opening choreography (Catalog, Cuaderno Álamo & Property Guide)
 * Snappier cadence than Home so returning/browsing visitors feel immediate speed. */
.page-line {
    display: block;
    animation: alamo-line-rise 620ms var(--ease-editorial) both;
}

.page-line--1 {
    animation-delay: 40ms;
}

.page-line--2 {
    animation-delay: 115ms;
}

.page-breadcrumb,
.blog-breadcrumb,
.property-breadcrumb {
    animation: alamo-page-rise 380ms var(--ease-editorial) 0ms both;
}

.catalog-header-lead,
.blog-masthead-lead,
.blog-standfirst {
    animation: alamo-page-rise 500ms var(--ease-editorial) 155ms both;
}

.blog-filter-bar {
    animation: alamo-page-rise 460ms var(--ease-editorial) 195ms both;
}

.blog-article-kicker {
    animation: alamo-page-rise 420ms var(--ease-editorial) 35ms both;
}

.blog-article-header h1 {
    animation: alamo-page-rise 540ms var(--ease-editorial) 80ms both;
}

.blog-byline-bar {
    animation: alamo-page-rise 460ms var(--ease-editorial) 190ms both;
}

.blog-article-cover > a {
    animation: alamo-hero-curtain 740ms var(--ease-editorial) 185ms both;
}

.blog-article-cover > a > img {
    transform-origin: center center;
    animation: alamo-photo-settle 960ms var(--ease-editorial) 185ms both;
}

.blog-article-cover figcaption {
    animation: alamo-page-rise 420ms var(--ease-editorial) 280ms both;
}

.property-page .property-title {
    animation: alamo-page-rise 500ms var(--ease-editorial) 50ms both;
}

.property-page .property-value {
    animation: alamo-page-rise 500ms var(--ease-editorial) 110ms both;
}

.property-page .property-gallery-wrap {
    animation: alamo-hero-curtain 720ms var(--ease-editorial) 145ms both;
}

.property-page .detail-gallery .gallery-main > img {
    transform-origin: center center;
    animation: alamo-photo-settle 940ms var(--ease-editorial) 145ms both;
}

.property-page .property-toolbar {
    animation: alamo-page-rise 440ms var(--ease-editorial) 225ms both;
}

/* Keep hero baseline shortcuts clear of the fixed bottom-right WhatsApp FAB */
@media (min-width: 701px) {
    .home-page .hero-band .hero-baseline {
        padding-right: 76px;
    }
}

/* ==========================================================================
   2. Tactile Press Feedback & Touch Hygiene (all devices)
   ========================================================================== */

button,
[role="button"],
.button,
.menu-toggle,
.gallery-view-all,
.property-pdf-link,
.property-fav-btn,
.property-fav-action,
.property-share-action,
.catalog-mobile-toggle,
.saved-filter-toggle,
.square-link,
.operation-tabs label,
.catalog-operation-segmented label,
.filter-chip,
.ref-copy-btn,
.blog-filter-pill,
.blog-share-btn {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

/* Override generic 1px translateY active nudge with crisp physical press scale */
a:active,
button:active {
    transform: none;
}

.button,
.menu-toggle,
.gallery-view-all,
.property-pdf-link,
.property-fav-btn,
.property-fav-action,
.property-share-action,
.catalog-mobile-toggle,
.saved-filter-toggle,
.square-link,
.filter-chip,
.ref-copy-btn,
.floating-whatsapp,
.hero-shortcuts a,
.detail-gallery > a,
.blog-article-cover > a,
.blog-gallery-item > a {
    transition:
        transform var(--dur-press) var(--ease-out),
        background-color var(--dur-short) ease,
        border-color var(--dur-short) ease,
        color var(--dur-short) ease,
        box-shadow var(--dur-short) ease,
        opacity var(--dur-short) ease;
}

.button:not(:disabled):active,
.menu-toggle:active,
.gallery-view-all:active,
.property-pdf-link:not([data-state="loading"]):active,
.property-fav-action:active,
.property-share-action:active,
.catalog-mobile-toggle:active,
.saved-filter-toggle:active,
.square-link:active,
.filter-chip:active,
.ref-copy-btn:active,
.hero-shortcuts a:active,
.floating-whatsapp:active {
    transform: scale(0.96);
}

.property-fav-btn:active {
    transform: scale(0.88);
}

.detail-gallery > a:active,
.blog-article-cover > a:active,
.blog-gallery-item > a:active {
    transform: scale(0.985);
}

/* Neutralize ungated hover transforms from earlier stylesheets on touch devices */
@media (hover: none), (pointer: coarse) {
    .service-card:hover,
    .property-card:hover,
    .property-picture:hover img,
    .alamo-property .detail-gallery a:hover img,
    .hero-conversation:hover svg,
    .t-learn:hover .t-learn-chevron,
    .floating-whatsapp:hover {
        transform: none;
    }

    .service-card:hover,
    .property-card:hover {
        box-shadow: none;
    }
}

/* Refined, unmistakable hover states strictly gated for fine pointers */
@media (hover: hover) and (pointer: fine) {
    .service-card {
        transition:
            transform 260ms var(--ease-editorial),
            box-shadow 260ms var(--ease-editorial),
            border-color 200ms ease;
    }

    .service-card .icon-tile {
        transition:
            transform 260ms var(--ease-editorial),
            background-color 200ms ease,
            border-color 200ms ease,
            color 200ms ease;
    }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 34px oklch(22% 0.04 155 / 0.13);
        border-color: #9bb196;
    }

    .service-card:hover .icon-tile {
        transform: scale(1.07);
        background: #12452e;
        border-color: #12452e;
        color: var(--color-accent);
    }

    .service-card-accent:hover .icon-tile {
        background: var(--color-paper);
        border-color: var(--color-paper);
        color: var(--color-accent-ink);
    }

    .property-card {
        transition:
            transform 280ms var(--ease-editorial),
            box-shadow 280ms var(--ease-editorial),
            border-color 200ms ease;
    }

    .property-card:hover {
        transform: translateY(-5px);
    }

    .property-picture img {
        transition: transform 560ms var(--ease-editorial), opacity 320ms var(--ease-editorial);
    }

    .property-card:hover .property-picture img {
        transform: scale(1.055);
    }

    .property-card .square-link svg {
        transition: transform 200ms var(--ease-out);
    }

    .property-card:hover .square-link {
        background: var(--color-accent);
        border-color: var(--color-accent);
        color: var(--color-accent-ink);
    }

    .property-card:hover .square-link svg {
        transform: translateX(3px);
    }

    .alamo-property .detail-gallery img {
        transition: transform 520ms var(--ease-editorial);
    }

    .alamo-property .detail-gallery a:hover img {
        transform: scale(1.045);
    }

    .alamo-property .detail-gallery a:hover .gallery-tile-affordance,
    .blog-article-cover > a:hover .gallery-tile-affordance,
    .blog-gallery-item > a:hover .gallery-tile-affordance {
        opacity: 1;
        transform: scale(1);
    }

    .blog-lead-link {
        transition:
            transform 280ms var(--ease-editorial),
            box-shadow 280ms var(--ease-editorial),
            border-color 200ms ease;
    }

    .blog-lead-link:hover {
        transform: translateY(-4px);
        border-color: #9ab094;
        box-shadow: 0 18px 34px oklch(22% 0.04 155 / 0.11);
    }

    .blog-page .journal-card-trigger {
        transition:
            transform 280ms var(--ease-editorial),
            box-shadow 280ms var(--ease-editorial),
            border-color 200ms ease;
    }

    .blog-page .journal-card-trigger:hover {
        transform: translateY(-5px);
        border-color: #9ab094;
        box-shadow: 0 16px 30px oklch(22% 0.04 155 / 0.11);
    }

    .property-summary dl > div {
        transition:
            transform 240ms var(--ease-editorial),
            border-color 200ms ease,
            box-shadow 240ms var(--ease-editorial),
            background-color 200ms ease;
    }

    .property-summary dl > div:hover {
        transform: translateY(-4px);
        border-color: #9ab094;
        background: #f8faf5;
        box-shadow: 0 12px 24px oklch(22% 0.04 155 / 0.09);
    }

    .alamo-property .property-data-list > div {
        transition:
            border-color 180ms ease,
            background-color 180ms ease,
            transform 200ms var(--ease-out);
    }

    .alamo-property .property-data-list > div:hover {
        background: #ffffff;
        border-color: #a9bea2;
        transform: translateY(-2px);
    }

    .property-amenities li {
        transition:
            transform 200ms var(--ease-out),
            border-color 180ms ease,
            background-color 180ms ease,
            box-shadow 200ms var(--ease-out);
    }

    .property-amenities li:hover {
        transform: translateY(-2px);
        border-color: #9ab094;
        background: #ffffff;
        box-shadow: 0 6px 14px oklch(22% 0.04 155 / 0.08);
    }

    .property-advisor a:hover {
        color: #12452e;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .t-learn .t-learn-chevron {
        display: inline-flex;
        transform: translateX(0);
        transition: transform var(--learn-dur) var(--ease-out);
    }

    .t-learn:hover .t-learn-chevron {
        transform: translateX(var(--learn-shift));
    }

    .home-owner-intro a svg,
    .hero-founders-cta svg,
    .hero-conversation svg {
        transition: transform 200ms var(--ease-out);
    }

    .home-owner-intro a:hover svg,
    .hero-founders-cta:hover svg,
    .hero-conversation:hover svg {
        transform: translateX(5px);
    }

    .hero-founder-frame > img {
        transition: transform 560ms var(--ease-editorial);
    }

    .hero-founder:hover .hero-founder-frame > img {
        transform: translateY(var(--founder-y, 0%)) scale(calc(var(--founder-scale, 1) * 1.03));
    }

    .journal-card-trigger:hover {
        border-color: #9ab094;
    }

    .journal-media > img {
        transition: transform 480ms var(--ease-editorial);
    }

    .journal-card-trigger:hover .journal-media > img {
        transform: scale(1.04);
    }

    .journal-action svg {
        transition: transform 180ms var(--ease-out);
    }

    .journal-card-trigger:hover .journal-action svg {
        transform: translateX(4px);
    }

    .hero-shortcuts a:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px oklch(22% 0.04 155 / 0.08);
    }

    .hero-shortcuts a svg {
        transition: transform 200ms var(--ease-out);
    }

    .hero-shortcuts a:hover svg {
        transform: translate(2px, -2px);
    }

    .floating-whatsapp:hover {
        transform: translateY(-3px) scale(1.04);
    }
}

/* ==========================================================================
   3. Mobile Navigation Dropdown (origin-aware, asymmetric enter/exit)
   ========================================================================== */

.t-dropdown {
    transform-origin: top right;
    transform: scale(var(--dropdown-pre-scale));
    opacity: 0;
    pointer-events: none;
    transition:
        transform var(--dropdown-open-dur) var(--dropdown-ease),
        opacity var(--dropdown-open-dur) var(--dropdown-ease);
}

.t-dropdown.is-open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.t-dropdown.is-closing {
    transform: scale(var(--dropdown-closing-scale));
    opacity: 0;
    pointer-events: none;
    transition:
        transform var(--dropdown-close-dur) var(--dropdown-ease),
        opacity var(--dropdown-close-dur) var(--dropdown-ease);
}

/* ==========================================================================
   4. Architectural One-Time Scroll Choreography (JS-progressive, zero-JS safe)
   Hero H1, main photo & search stay 100% immediate.
   All content remains 100% visible if JS fails or is already in viewport.
   ========================================================================== */

[data-reveal="pending"] {
    opacity: 0;
    transform: translateY(30px);
    transition: none;
}

.service-card[data-reveal="pending"],
.property-card[data-reveal="pending"],
.journal-card[data-reveal="pending"],
.blog-gallery-item[data-reveal="pending"],
.testimonial[data-reveal="pending"] {
    opacity: 0;
    transform: translateY(38px) scale(0.965);
    transition: none;
}

.property-summary dl > div[data-reveal="pending"] {
    opacity: 0;
    transform: translateY(22px) scale(0.975);
    transition: none;
}

/* High-specificity visible state so card/form base transitions NEVER override reveal */
[data-reveal="visible"],
.service-card[data-reveal="visible"],
.property-card[data-reveal="visible"],
.journal-card[data-reveal="visible"],
.blog-gallery-item[data-reveal="visible"],
.property-summary dl > div[data-reveal="visible"],
.testimonial[data-reveal="visible"],
.home-contact-form[data-reveal="visible"] {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity 600ms var(--ease-editorial) var(--reveal-delay, 0ms),
        transform 680ms var(--ease-editorial) var(--reveal-delay, 0ms);
}

/* Card & gallery photo curtain + architectural lens settle paired with reveal */
.property-card[data-reveal="pending"] .property-picture,
.journal-card[data-reveal="pending"] .journal-media,
.blog-gallery-item[data-reveal="pending"] > a {
    clip-path: inset(10% 0 0 0 round 12px);
}

.property-card[data-reveal="pending"] .property-picture img,
.journal-card[data-reveal="pending"] .journal-media > img,
.blog-gallery-item[data-reveal="pending"] > a > img {
    transform: scale(1.09);
    transition: none;
}

.property-card[data-reveal="visible"] .property-picture,
.journal-card[data-reveal="visible"] .journal-media,
.blog-gallery-item[data-reveal="visible"] > a {
    clip-path: inset(0 0 0 0 round 12px);
    transition: clip-path 780ms var(--ease-editorial) var(--reveal-delay, 0ms);
}

.property-card[data-reveal="visible"] .property-picture img,
.journal-card[data-reveal="visible"] .journal-media > img,
.blog-gallery-item[data-reveal="visible"] > a > img {
    transform: scale(1);
    transition: transform 900ms var(--ease-editorial) var(--reveal-delay, 0ms);
}

/* Editorial architectural photography curtain reveal (Perspective & Contact photos) */
[data-reveal-media] {
    overflow: hidden;
}

[data-reveal-media="pending"] {
    opacity: 0.08;
    transform: translateY(32px);
    clip-path: inset(18% 0 0 0 round 12px);
    transition: none;
}

[data-reveal-media="pending"] > img {
    transform: scale(1.14);
    transition: none;
}

[data-reveal-media="visible"] {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0 round 12px);
    transition:
        opacity 560ms var(--ease-editorial),
        transform 760ms var(--ease-editorial),
        clip-path 840ms var(--ease-editorial);
}

[data-reveal-media="visible"] > img {
    transform: scale(1);
    transition: transform 1050ms var(--ease-editorial);
}

@media (hover: hover) and (pointer: fine) {
    .perspective-visual[data-reveal-media="pending"] > img {
        transform: scale(1.18);
    }

    .perspective-visual[data-reveal-media="visible"] > img,
    .perspective-visual[data-reveal-media="done"] > img {
        transform: scale(1.06);
    }
}

/* Quiet lazy-image decode settle (zero CLS: dimensions are explicit in markup) */
img[data-img-loading="true"] {
    opacity: 0;
}

img[data-img-loading="done"] {
    opacity: 1;
    transition: opacity 320ms var(--ease-editorial);
}

/* Highlight contact form card when arriving from a CTA ("Conversemos", "Quiero vender", "Consultar", etc.) */
.home-contact-form:not([data-reveal="pending"]):not([data-reveal="visible"]),
.property-contact-card {
    transition:
        border-color 260ms var(--ease-out),
        box-shadow 420ms var(--ease-out);
}

.home-contact-form.is-highlighted,
.property-contact-card.is-highlighted {
    border-color: #12452e;
    box-shadow: 0 0 0 5px color-mix(in oklab, var(--color-accent) 55%, transparent);
}

/* ==========================================================================
   5. Property Card Polish — Photo Count & Favorite Microinteraction
   ========================================================================== */

.property-picture-wrap {
    position: relative;
}

.property-picture-wrap > .property-operation {
    z-index: 2;
    pointer-events: none;
}

.property-photo-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 6px;
    background: oklch(18% 0.03 155 / 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #f8faf5;
    font-size: 11px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    pointer-events: none;
}

.property-photo-count svg {
    width: 13px;
    height: 13px;
}

.property-fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: color-mix(in oklab, #f8faf5 92%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--color-ink);
    border: 1px solid oklch(31% 0.07 155 / 0.14);
    box-shadow: 0 2px 10px oklch(18% 0.03 155 / 0.14);
}

/* Expand touch target to 44x44 without growing visual footprint */
.property-fav-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
}

.property-fav-btn svg {
    width: 18px;
    height: 18px;
    transition: fill 180ms ease, color 180ms ease, transform 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .property-fav-btn:hover {
        background: #fff;
        box-shadow: 0 5px 16px oklch(18% 0.03 155 / 0.2);
    }

    .property-fav-btn:hover svg {
        transform: scale(1.12);
    }
}

.property-fav-btn[aria-pressed="true"] {
    background: #fff;
    border-color: color-mix(in oklab, var(--color-favorite) 35%, transparent);
    color: var(--color-favorite);
}

.property-fav-btn[aria-pressed="true"] svg {
    fill: var(--color-favorite);
}

/* ==========================================================================
   6. Segmented Operation Tabs (Home & Catalog) — GPU sliding pill
   ========================================================================== */

.home-page .hero-band .search-box {
    border: 1px solid color-mix(in oklab, var(--color-rule) 55%, transparent);
    transition:
        transform 260ms var(--ease-editorial),
        border-color 220ms var(--ease-out),
        box-shadow 260ms var(--ease-editorial);
}

.home-page .hero-band .search-box:focus-within {
    transform: translateY(-2px);
    border-color: #7ea07b;
    box-shadow: 0 22px 44px oklch(20% 0.05 155 / 0.15);
}

.home-page .operation-tabs {
    display: block;
    padding-block: 0 18px;
}

.operation-tabs-track {
    position: relative;
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(112px, 1fr));
    padding: 4px;
    border-radius: 11px;
    background: #edf1e8;
    border: 1px solid #d7e0d0;
    isolation: isolate;
}

.operation-tabs-pill {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    border-radius: 8px;
    background: #12452e;
    box-shadow: 0 3px 10px oklch(22% 0.05 155 / 0.2);
    transform: translate3d(0, 0, 0);
    transition: transform 280ms var(--ease-drawer);
    pointer-events: none;
    z-index: 0;
}

.operation-tabs-track:has(input[value="alquiler"]:checked) .operation-tabs-pill {
    transform: translate3d(100%, 0, 0);
}

.home-page .operation-tabs label {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 9px 20px;
    min-height: 40px;
    border-radius: 8px;
    background: transparent;
    color: var(--color-ink);
    font-weight: 500;
    font-size: 14px;
    box-shadow: none;
    transition: color 200ms ease, transform var(--dur-press) var(--ease-out);
}

.home-page .operation-tabs label:active {
    transform: scale(0.96);
}

.home-page .operation-tabs label:has(input:checked) {
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.home-page .operation-tabs label:has(input:focus-visible) {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

/* Catalog 3-way segmented controls (Operación & Moneda) — Emil clip-path tabs */
.catalog-segmented {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
}

.catalog-field {
    display: grid;
    gap: 6px;
}

.catalog-field-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.005em;
    color: var(--color-ink-2);
    margin: 0;
    padding: 0;
    transition: color 160ms ease;
}

.catalog-field:focus-within .catalog-field-label,
.catalog-segmented:focus-within .catalog-field-label {
    color: #0b3322;
}

.field-active-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #12452e;
    flex: none;
    opacity: 0;
    transform: scale(0.9);
    transition:
        opacity 160ms var(--ease-out),
        transform 160ms var(--ease-out);
}

.catalog-field[data-active="true"] .field-active-dot,
.catalog-segmented[data-active="true"] .field-active-dot {
    opacity: 1;
    transform: scale(1);
}

.segmented-track {
    position: relative;
    display: grid;
    padding: 3px;
    border-radius: 9px;
    background: #ffffff;
    border: 1px solid #cbd6c4;
    isolation: isolate;
    overflow: hidden;
    transition: border-color 160ms ease;
}

.segmented-track--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.segmented-pill-shadow {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc((100% - 6px) / 3);
    border-radius: 6px;
    background: transparent;
    box-shadow: 0 2px 8px oklch(22% 0.05 155 / 0.22);
    transform: translate3d(0, 0, 0);
    transition: transform 250ms var(--ease-in-out);
    pointer-events: none;
    z-index: 0;
}

.segmented-active-layer {
    position: absolute;
    inset: 3px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    background: #12452e;
    color: #ffffff;
    border-radius: 6px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    clip-path: inset(0 66.6667% 0 0 round 6px);
    transition: clip-path 250ms var(--ease-in-out);
}

.segmented-active-layer > span {
    display: grid;
    place-items: center;
    min-height: 34px;
    padding: 4px 2px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.segmented-track--three:has(label:nth-of-type(2) input:checked) .segmented-active-layer {
    clip-path: inset(0 33.3333% 0 33.3333% round 6px);
}

.segmented-track--three:has(label:nth-of-type(2) input:checked) .segmented-pill-shadow {
    transform: translate3d(100%, 0, 0);
}

.segmented-track--three:has(label:nth-of-type(3) input:checked) .segmented-active-layer {
    clip-path: inset(0 0 0 66.6667% round 6px);
}

.segmented-track--three:has(label:nth-of-type(3) input:checked) .segmented-pill-shadow {
    transform: translate3d(200%, 0, 0);
}

.catalog-segmented label {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 34px;
    padding: 4px 2px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: var(--color-ink);
    cursor: pointer;
    border-radius: 6px;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition:
        background-color 150ms ease,
        color 150ms ease,
        transform var(--dur-press) var(--ease-out);
}

.catalog-segmented label:not(:has(input:checked)):active {
    transform: scale(0.96);
}

.catalog-segmented input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: 0;
    pointer-events: none;
}

.catalog-segmented label:has(input:focus-visible) {
    outline: 2px solid var(--color-focus);
    outline-offset: -2px;
}

@media (hover: hover) and (pointer: fine) {
    .catalog-segmented label:not(:has(input:checked)):hover {
        background: color-mix(in oklab, var(--color-ink) 5%, transparent);
    }
}

/* ==========================================================================
   7. Intentional Field Focus & Catalog Filter Polish
   ========================================================================== */

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 200ms var(--ease-out);
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-field);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-focus) 22%, transparent);
}

input:not([type="checkbox"]):not([type="radio"]):focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

.search-fields > label > span,
.search-fields > label > span svg,
.catalog-filters label,
.inquiry-form label {
    transition: color 180ms ease;
}

.search-fields > label:focus-within > span,
.catalog-filters label:focus-within,
.inquiry-form label:focus-within {
    color: #0b3322;
}

.search-fields > label:focus-within > span svg {
    color: #12452e;
}

.home-page .search-fields input:focus,
.home-page .search-fields select:focus {
    background: #fff;
    border-color: #12452e;
    box-shadow: 0 0 0 3px color-mix(in oklab, #28713f 22%, transparent);
}

/* Catalog editorial header, sticky filters & progressive mobile filter accordion */
.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-muted);
}

.page-breadcrumb a {
    color: var(--color-ink-2);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: var(--color-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.catalog-page .catalog-header {
    padding-top: 36px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--color-rule);
}

.catalog-header-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
    margin-top: 22px;
}

.catalog-page .catalog-header h1 {
    margin-top: 0;
    font-size: clamp(40px, 5.2vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    max-width: 14ch;
}

.catalog-header-lead {
    margin: 0;
    max-width: 34ch;
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--color-ink-2);
    padding-bottom: 6px;
}

.catalog-page .catalog {
    grid-template-columns: 296px minmax(0, 1fr);
    gap: 36px;
}

.catalog-page .catalog-filters {
    background: #eef2e8;
    border: 1px solid #d4decb;
    border-radius: 14px;
    padding: 20px;
    gap: 16px;
    box-shadow:
        0 1px 2px oklch(22% 0.04 155 / 0.04),
        0 10px 26px oklch(22% 0.04 155 / 0.05);
}

@media (min-width: 701px) {
    .catalog-page .catalog-filters {
        position: sticky;
        top: 96px;
        max-height: calc(100dvh - 112px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: color-mix(in oklab, var(--color-ink) 20%, transparent) transparent;
    }

    .catalog-page .catalog-filters::-webkit-scrollbar {
        width: 6px;
    }

    .catalog-page .catalog-filters::-webkit-scrollbar-track {
        background: transparent;
    }

    .catalog-page .catalog-filters::-webkit-scrollbar-thumb {
        background: color-mix(in oklab, var(--color-ink) 20%, transparent);
        border-radius: 999px;
    }

    .catalog-page .catalog-filters::-webkit-scrollbar-button {
        display: none;
        width: 0;
        height: 0;
    }

    .catalog-filter-actions {
        position: sticky;
        bottom: -20px;
        z-index: 3;
        background: linear-gradient(to bottom, color-mix(in oklab, #eef2e8 0%, transparent), #eef2e8 18%);
        margin: -6px -4px -20px;
        padding: 12px 4px 20px;
    }
}

.catalog-filters-heading-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.catalog-mobile-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--color-paper);
    border: 1px solid #c3d1be;
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 500;
}

.catalog-mobile-toggle svg {
    width: 15px;
    height: 15px;
    flex: none;
    transition: transform 220ms var(--ease-editorial);
}

.catalog-mobile-toggle[aria-expanded="true"] svg {
    transform: rotate(45deg);
}

.catalog-filter-fields {
    display: grid;
    gap: 14px;
}

.catalog-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.catalog-search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--color-muted);
    pointer-events: none;
    transition: color 160ms ease;
}

.catalog-search-wrap:focus-within .catalog-search-icon {
    color: #12452e;
}

.catalog-filters input[type="search"] {
    width: 100%;
    min-height: 42px;
    height: 42px;
    margin-top: 0;
    padding: 8px 34px 8px 36px;
    border-radius: 8px;
    border: 1px solid #cbd6c4;
    background: #ffffff;
    font-size: 14px;
    color: var(--color-ink);
}

.catalog-filters input[type="search"]::-webkit-search-cancel-button,
.catalog-filters input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.catalog-search-clear {
    position: absolute;
    right: 6px;
    width: 28px;
    height: 28px;
    min-height: 0;
    padding: 0;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--color-muted);
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 150ms var(--ease-out),
        transform var(--dur-press) var(--ease-out),
        background-color 150ms ease,
        color 150ms ease;
}

.catalog-search-clear svg {
    width: 14px;
    height: 14px;
}

.catalog-search-clear[hidden] {
    display: none;
}

@starting-style {
    .catalog-search-clear {
        opacity: 0;
        transform: scale(0.92);
    }
}

.catalog-search-clear:active {
    transform: scale(0.94);
}

.catalog-select-wrap {
    position: relative;
    display: block;
}

.catalog-filters select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 42px;
    height: 42px;
    margin-top: 0;
    padding: 8px 34px 8px 12px;
    border-radius: 8px;
    border: 1px solid #cbd6c4;
    background: #ffffff;
    font-size: 14px;
    color: var(--color-ink);
    text-overflow: ellipsis;
}

.catalog-select-chevron {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--color-muted);
    pointer-events: none;
    transition: color 160ms ease;
}

.catalog-select-wrap:focus-within .catalog-select-chevron {
    color: #12452e;
}

.catalog-price-block {
    display: grid;
    gap: 0;
}

.catalog-price-collapse-inner {
    overflow: hidden;
}

.catalog-price-collapse-inner > .form-pair {
    padding-top: 10px;
    gap: 8px;
}

html.js .catalog-price-collapse {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition:
        grid-template-rows 160ms var(--ease-out),
        opacity 140ms var(--ease-out),
        transform 160ms var(--ease-out);
}

html.js .catalog-price-collapse[data-open="true"] {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition:
        grid-template-rows 220ms var(--ease-out),
        opacity 200ms var(--ease-out) 30ms,
        transform 220ms var(--ease-out);
}

.catalog-price-field {
    display: grid;
    gap: 4px;
}

.catalog-price-caption {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-ink-2);
}

.catalog-price-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.catalog-price-prefix {
    position: absolute;
    left: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-muted);
    pointer-events: none;
    user-select: none;
    transition: color 160ms ease;
}

.catalog-price-input-wrap:focus-within .catalog-price-prefix {
    color: #12452e;
}

.catalog-filters .catalog-price-input-wrap input {
    width: 100%;
    min-height: 40px;
    height: 40px;
    margin-top: 0;
    padding: 6px 8px 6px 38px;
    border-radius: 8px;
    border: 1px solid #cbd6c4;
    background: #ffffff;
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
}

.catalog-price-collapse[data-currency="ARS"] .catalog-price-input-wrap input {
    padding-left: 24px;
}

.catalog-sort-hint {
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-ink-2);
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 180ms var(--ease-out),
        transform 180ms var(--ease-out);
}

.catalog-sort-hint[hidden] {
    display: none;
}

@starting-style {
    .catalog-sort-hint {
        opacity: 0;
        transform: translateY(-4px);
    }
}

.catalog-filters select[data-active-filter="true"],
.catalog-filters input[data-active-filter="true"] {
    border-color: #12452e;
    background: #ffffff;
    font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
    .catalog-filters input[type="search"]:hover,
    .catalog-filters input[type="number"]:hover,
    .catalog-filters select:hover,
    .catalog-filters .segmented-track:hover {
        border-color: #9cb296;
    }

    .catalog-search-clear:hover {
        background: #eef2e8;
        color: var(--color-ink);
    }
}

.catalog-filters-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.catalog-filters-heading h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    gap: 9px;
    white-space: nowrap;
}

.catalog-filters-heading h2 svg {
    width: 20px;
    height: 20px;
}

.filter-count-badge {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding-inline: 7px;
    border-radius: var(--radius-pill);
    background: #12452e;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    opacity: 1;
    transform: scale(1);
    overflow: hidden;
    transition:
        opacity 180ms var(--ease-out),
        transform 180ms var(--ease-out);
}

@starting-style {
    .filter-count-badge {
        opacity: 0;
        transform: scale(0.9);
    }
}

.filter-count-value {
    display: inline-block;
    line-height: 1;
}

.catalog-filter-actions {
    display: grid;
    gap: 6px;
    padding-top: 2px;
}

.catalog-filters .catalog-submit {
    min-height: 44px;
    height: 44px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
}

.catalog-submit-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition:
        filter 160ms ease,
        opacity 160ms ease;
}

.catalog-submit-content svg {
    width: 17px;
    height: 17px;
}

.catalog-submit-content.is-transitioning {
    filter: blur(2px);
    opacity: 0.65;
}

.catalog-filters .clear-filters {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-ink-2);
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity 180ms var(--ease-out),
        transform var(--dur-press) var(--ease-out),
        color 150ms ease,
        background-color 150ms ease;
}

.catalog-filters .clear-filters[hidden] {
    display: none;
}

@starting-style {
    .catalog-filters .clear-filters {
        opacity: 0;
        transform: translateY(-4px) scale(0.97);
    }
}

.catalog-filters .clear-filters:active {
    transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
    .catalog-filters .clear-filters:hover {
        color: #12452e;
        background: color-mix(in oklab, var(--color-ink) 6%, transparent);
    }
}

.active-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--space-lg);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--color-paper-2);
    border: 1px solid var(--color-rule);
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 500;
    opacity: 1;
    transform: scale(1);
}

@starting-style {
    .filter-chip {
        opacity: 0;
        transform: scale(0.92);
    }
}

.filter-chip.is-removing {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    transition:
        opacity 150ms var(--ease-out),
        transform 150ms var(--ease-out);
}

.filter-chip svg {
    width: 14px;
    height: 14px;
    color: var(--color-muted);
    transition: color 140ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .filter-chip:hover {
        background: var(--color-paper-3);
        border-color: var(--color-ink);
    }

    .filter-chip:hover svg {
        color: var(--color-ink);
    }
}

/* Catalog live update & reading-position continuity */
.catalog-results {
    position: relative;
}

.catalog-progress-bar {
    position: relative;
    height: 3px;
    margin-bottom: 12px;
    border-radius: 3px;
    overflow: hidden;
    background: transparent;
    opacity: 0;
    transition: opacity 160ms ease;
}

.catalog-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 38%;
    border-radius: inherit;
    background: #12452e;
    transform: translateX(-100%);
}

.catalog-results[aria-busy="true"] .catalog-progress-bar {
    background: var(--color-paper-3);
    opacity: 1;
}

.catalog-results[aria-busy="true"] .catalog-progress-bar::after {
    animation: alamo-indeterminate 800ms var(--ease-in-out) infinite;
}

@keyframes alamo-indeterminate {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(360%); }
}

.catalog-results .results-heading > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px var(--space-md);
    width: 100%;
}

.results-heading-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.saved-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--color-paper-2);
    border: 1px solid var(--color-rule);
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 500;
    opacity: 1;
    transform: scale(1);
}

.saved-filter-toggle[hidden] {
    display: none;
}

@starting-style {
    .saved-filter-toggle {
        opacity: 0;
        transform: scale(0.94);
    }
}

.saved-filter-toggle svg {
    width: 15px;
    height: 15px;
    color: var(--color-favorite);
    fill: var(--color-favorite);
}

.saved-filter-toggle strong {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.saved-filter-toggle[aria-pressed="true"] {
    background: #12452e;
    border-color: #12452e;
    color: #fff;
}

.saved-filter-toggle[aria-pressed="true"] svg {
    color: var(--color-accent);
    fill: var(--color-accent);
}

.catalog-live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: var(--text-sm);
    color: var(--color-ink-2);
    font-variant-numeric: tabular-nums;
    transition: opacity 160ms ease, color 160ms ease;
}

.catalog-results[aria-busy="true"] .catalog-live-status {
    color: #12452e;
    font-weight: 500;
}

.catalog-results-body {
    transition: opacity 220ms var(--ease-editorial), transform 260ms var(--ease-editorial);
}

.catalog-results[aria-busy="true"] .catalog-results-body {
    opacity: 0.48;
    pointer-events: none;
}

.catalog-results-body.is-entering {
    opacity: 0;
    transform: translateY(14px);
}

/* Crisp wave for freshly filtered catalog cards */
.catalog-property-grid .property-card.is-catalog-entering {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: none;
}

.catalog-property-grid .property-card.is-catalog-entered {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity 320ms var(--ease-editorial) var(--catalog-delay, 0ms),
        transform 360ms var(--ease-editorial) var(--catalog-delay, 0ms);
}

@media (max-width: 1050px) {
    .catalog-header-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 1000px) {
    .catalog-page .catalog {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 24px;
    }

    .catalog-page .catalog-filters {
        padding: 18px;
    }
}

@media (max-width: 1024px), (pointer: coarse) {
    .catalog-filters input[type="search"],
    .catalog-filters input[type="number"],
    .catalog-filters select {
        font-size: 16px;
    }

    .page-breadcrumb a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }
}

@media (max-width: 700px) {
    .catalog-page .catalog {
        grid-template-columns: minmax(0, 1fr);
    }

    .catalog-page .catalog-header {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .catalog-page .catalog-filters {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 18px;
    }

    html.js .catalog-mobile-toggle {
        display: inline-flex;
    }

    html.js .catalog-filters[data-mobile-filters="closed"] .catalog-filter-fields {
        display: none;
    }

    .catalog-filter-fields {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .catalog-filters-heading,
    .catalog-filter-fields .catalog-field[data-filter-field="search"],
    .catalog-filter-fields .catalog-segmented,
    .catalog-filter-fields .catalog-price-block,
    .catalog-filter-fields .catalog-field[data-filter-field="sort"],
    .catalog-filter-fields [data-catalog-errors],
    .catalog-filter-fields .catalog-filter-actions {
        grid-column: 1 / -1;
    }

    .catalog-filters input[type="search"],
    .catalog-filters input[type="number"],
    .catalog-filters select {
        font-size: 16px;
    }

    .operation-tabs-track {
        display: grid;
        width: 100%;
    }
}

/* Prevent narrow mobile select labels ("Todas las propiedades") from clipping */
@media (max-width: 480px) {
    .catalog-filter-fields .catalog-field[data-filter-field="property_type_id"],
    .catalog-filter-fields .catalog-field[data-filter-field="neighborhood_id"] {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   8. FAQ Smooth Accordion (<details>)
   ========================================================================== */

.faq-list details {
    transition: background-color 220ms ease;
}

.faq-list summary {
    padding-inline: 4px;
    transition: color 180ms ease;
}

.faq-list details > p {
    padding-inline: 4px;
    overflow: hidden;
}

.faq-list summary svg {
    transition: transform 240ms var(--ease-editorial);
}

.faq-list details[open]:not(.is-closing) > summary svg {
    transform: rotate(45deg);
}

/* ==========================================================================
   9. Property Detail Elevation — Price Plaque, Dossier Rhythm, Gallery & Mobile Bar
   ========================================================================== */

/* Zero lingering focus ring after closing Fancybox; inset ring for keyboard tabbing */
[data-fancybox]:focus:not(:focus-visible),
[data-gallery-open]:focus:not(:focus-visible) {
    outline: none;
}

[data-fancybox]:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: -3px;
}

/* WCAG 2.5.8 target size floor for desktop breadcrumbs & catalog card links */
.page-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    min-width: 28px;
}

.catalog-property-grid .property-card h3 a {
    display: inline-block;
    padding-block: 2px;
}

/* Harmonized price symbol on property cards */
.property-price .price-symbol {
    color: #3f6045;
    font-weight: 500;
    font-size: 0.85em;
    letter-spacing: -0.01em;
}

.property-price .price-period {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-muted);
    margin-left: 2px;
}

/* Compact top metadata bar (breadcrumb + status pills on one line) */
.alamo-property {
    padding-top: 14px;
}

.property-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 12px;
}

.alamo-property .property-breadcrumb {
    margin-bottom: 0;
}

/* Property masthead kicker & status badges */
.property-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.property-op-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: #0f3d28;
    color: #faf9f5;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.property-op-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e3e859;
    box-shadow: 0 0 0 2px rgba(227, 232, 89, 0.25);
    flex: none;
}

.property-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: #edf3e6;
    border: 1px solid #d1dccb;
    color: #164430;
    font-size: 11.5px;
    font-weight: 500;
}

.property-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 500;
    background: #e9f2ea;
    color: #1e5635;
    border: 1px solid #c7ddc9;
}

.property-status-pill--reservada {
    background: #fef4dc;
    color: #7c4d08;
    border-color: #ecd296;
}

.property-status-pill--vendida,
.property-status-pill--alquilada {
    background: #eeefe9;
    color: #535c54;
    border-color: #d4d8d1;
}

/* Balanced compact masthead so the gallery sits centered in the first screen */
.alamo-property .property-masthead {
    align-items: center;
    gap: 28px;
    padding-block: 0;
    margin-bottom: 18px;
}

.alamo-property .property-title h1 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.038em;
    max-width: 28ch;
}

.alamo-property .property-address {
    margin-top: 8px;
    font-size: 13.5px;
}

/* Signature Architectural Cypress Price Plaque (sleek horizontal balance) */
.alamo-property .property-value {
    background: linear-gradient(155deg, #134830 0%, #0d3623 100%);
    color: #fafcf8;
    border: 1px solid #0b2d1d;
    border-radius: 14px;
    padding: 15px 20px;
    min-width: 268px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 14px 28px oklch(18% 0.05 155 / 0.13);
}

.property-value-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 6px;
}

.property-value-label {
    font-size: 12px;
    font-weight: 400;
    color: #c2d6c3;
    letter-spacing: 0.01em;
}

.property-currency-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: var(--radius-pill);
    background: rgba(227, 232, 89, 0.14);
    border: 1px solid rgba(227, 232, 89, 0.3);
    color: #e8ed6b;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.alamo-property .property-value .property-price-figure {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 0;
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    line-height: 1.05;
    letter-spacing: -0.038em;
    color: #ffffff;
}

.property-price-figure .price-symbol {
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 500;
    color: #e3e859;
    letter-spacing: -0.01em;
}

.property-price-figure .price-amount {
    font-size: clamp(28px, 2.6vw, 35px);
    font-weight: 600;
    color: #ffffff;
}

.property-price-figure .price-period {
    font-size: 13.5px;
    font-weight: 400;
    color: #c2d6c3;
    letter-spacing: 0;
}

.property-value-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 12px;
    line-height: 1.35;
    color: #c2d6c3;
}

.property-value-meta > span {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    white-space: nowrap;
}

.property-value-meta > span + span::before {
    content: '·';
    margin-right: 7px;
    color: rgba(255, 255, 255, 0.32);
}

.alamo-property .property-value .property-value-meta strong {
    display: inline;
    margin: 0;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0;
    color: #f4f8f1;
    font-variant-numeric: tabular-nums;
}

/* Gallery frame & frosted controls — centered comfortably above the fold */
.alamo-property .detail-gallery {
    height: clamp(390px, 52vh, 470px);
    border-radius: 16px;
    gap: 10px;
    border: 1px solid #d4decb;
}

.alamo-property .detail-gallery > a {
    position: relative;
}

.alamo-property .detail-gallery .gallery-main::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 32%;
    background: linear-gradient(to top, rgba(11, 38, 25, 0.24) 0%, transparent 100%);
    pointer-events: none;
}

.alamo-property .gallery-view-all {
    background: rgba(252, 252, 249, 0.94);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(15, 61, 40, 0.14);
    border-radius: 10px;
    box-shadow: 0 8px 22px oklch(15% 0.04 155 / 0.16);
}

/* Architectural summary stat cards */
.alamo-property .property-summary dl > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #f5f8f2;
    border: 1px solid #d5e0ce;
    border-radius: 12px;
    padding: 18px 18px 16px;
}

.alamo-property .property-summary .summary-icon-tile {
    order: 0;
}

.alamo-property .property-summary dd {
    order: 1;
}

.alamo-property .property-summary dt {
    order: 2;
}

.summary-icon-tile {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e6efe0;
    border: 1px solid #cfe0c7;
    color: #12452e;
    margin-bottom: 14px;
    transition:
        background-color 200ms ease,
        border-color 200ms ease,
        color 200ms ease,
        transform 220ms var(--ease-out);
}

.alamo-property .property-summary .summary-icon-tile svg {
    width: 20px;
    height: 20px;
    margin: 0;
    color: currentColor;
}

.alamo-property .property-summary dd {
    font-variant-numeric: tabular-nums;
    color: #0f3d28;
}

/* Dossier section rhythm & crisp architectural spec matrix ("Los detalles que importan.") */
.property-section-kicker {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #567052;
    margin-bottom: 6px;
}

.alamo-property .property-block {
    padding-block: 30px;
}

.alamo-property .property-information > .property-block:last-child {
    border-bottom: 0;
    padding-bottom: 8px;
}

.alamo-property .property-toolbar {
    justify-content: flex-end;
    padding-block: 16px;
}

.alamo-property .property-data-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.alamo-property .property-data-list > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 14px 16px;
    background: #fafcf8;
    border: 1px solid #d5e0ce;
    border-radius: 12px;
    margin: 0;
    box-shadow: 0 1px 2px oklch(20% 0.04 155 / 0.03);
}

.alamo-property .property-data-list > div:last-child {
    border: 1px solid #d5e0ce;
}

.alamo-property .property-data-list dt {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: var(--color-muted);
    margin: 0;
}

.alamo-property .property-data-list dd {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: -0.015em;
    color: #0f3d28;
    text-align: left;
    font-variant-numeric: tabular-nums;
    margin: 0;
}

@media (max-width: 640px) {
    .alamo-property .property-data-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .alamo-property .property-data-list > div {
        padding: 12px 13px;
    }

    .alamo-property .property-data-list dd {
        font-size: 14.5px;
    }
}

/* Compact grouped amenities & tactile check-button chips */
.property-amenity-groups {
    display: grid;
    gap: 18px;
}

.property-amenity-group + .property-amenity-group {
    padding-top: 16px;
    border-top: 1px solid #e1e8dc;
}

.property-amenity-group h3 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #50694f;
    margin: 0 0 10px;
}

.alamo-property .property-amenities {
    gap: 8px 10px;
}

.alamo-property .property-amenities li {
    background: #fafcf8;
    border: 1px solid #d3decb;
    border-radius: 10px;
    padding: 8px 13px;
    font-size: 13.5px;
    font-weight: 500;
    color: #123c28;
    box-shadow: 0 1px 2px oklch(20% 0.04 155 / 0.04);
}

.alamo-property .property-amenities li svg {
    width: 17px;
    height: 17px;
    color: #1f6b3e;
    flex: none;
}

.alamo-property .property-amenities--docs li {
    background: #f4f8f0;
    border-color: #bfd0b8;
    color: #0f3d28;
    font-weight: 500;
}

.alamo-property .property-amenities--docs li svg {
    color: #12452e;
}

/* Map CTA pill & framed container */
.property-map-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    background: #eef3e8;
    border: 1px solid #cbd7c4;
    color: #0f3d28;
    font-size: 13px;
    font-weight: 500;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform var(--dur-press) var(--ease-out);
}

.property-map-cta:active {
    transform: scale(0.96);
}

.property-map-cta svg {
    width: 15px;
    height: 15px;
    flex: none;
}

.property-map-frame {
    border: 1px solid #cdd9c6;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 26px oklch(20% 0.04 155 / 0.06);
    margin-top: 16px;
    background: var(--color-paper-2);
}

.alamo-property .property-map-frame .property-map {
    margin-top: 0;
    border: 0;
    border-radius: 0;
}

/* Executive minimalista WhatsApp contact sidebar card */
.alamo-property .property-contact-card.property-exec-card {
    background: #f3f7ef;
    border: 1px solid #cedac7;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 18px 40px oklch(20% 0.04 155 / 0.075);
    display: grid;
    gap: 18px;
}

.exec-price-band {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid #d7e1d1;
}

.exec-price-label {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--color-muted);
    margin-bottom: 4px;
}

.exec-price-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #0f3d28;
    font-variant-numeric: tabular-nums;
}

.exec-price-symbol {
    font-size: 18px;
    font-weight: 500;
    color: #2f6545;
}

.exec-price-amount small {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-muted);
}

.exec-price-sub {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: #e7efe0;
    border: 1px solid #d1dec9;
    font-size: 11.5px;
    font-weight: 500;
    color: #264d36;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.exec-team {
    display: flex;
    align-items: center;
    gap: 13px;
}

.exec-avatars {
    display: flex;
    align-items: center;
    flex: none;
}

.exec-avatars img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 2px solid #f3f7ef;
    background: #dce5d5;
    box-shadow: 0 2px 8px oklch(18% 0.04 155 / 0.12);
}

.exec-avatars--pair img + img {
    margin-left: -12px;
}

.exec-team-meta {
    min-width: 0;
}

.exec-team-meta strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    color: #0f3d28;
}

.exec-team-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 12px;
    color: var(--color-muted);
}

.exec-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1f8a4c;
    box-shadow: 0 0 0 3px rgba(31, 138, 76, 0.18);
    flex: none;
}

.exec-copy h2 {
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 6px;
    color: #0f3d28;
}

.exec-copy p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.58;
    color: var(--color-ink-2);
}

/* Primary Direct WhatsApp CTA */
.exec-wa-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 10px;
    background-color: #168343;
    border: 1px solid #126f38;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.006em;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    box-shadow:
        0 1px 1px oklch(20% 0.05 155 / 0.10),
        0 2px 6px oklch(30% 0.08 152 / 0.12);
    transition:
        transform var(--dur-press) var(--ease-out),
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms var(--ease-out);
}

.exec-wa-cta:active {
    transform: scale(0.975);
    box-shadow: 0 1px 1px oklch(20% 0.05 155 / 0.12);
}

.exec-wa-cta:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
}

.exec-wa-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
    flex: none;
    transition: transform 200ms var(--ease-out);
}

/* Quick secondary actions (Call + PDF + Share) */
.exec-quick-actions {
    display: grid;
    gap: 8px;
}

.exec-quick-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.exec-quick-btn,
.exec-quick-btn.property-share-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 9px 13px;
    border-radius: 10px;
    background: #fafcf8;
    border: 1px solid #d3decb;
    color: #0f3d28;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition:
        transform var(--dur-press) var(--ease-out),
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.exec-quick-btn:active,
.exec-quick-btn.property-share-action:active {
    transform: scale(0.97);
}

.exec-quick-btn svg {
    width: 16px;
    height: 16px;
    color: #255a3c;
    flex: none;
}

.exec-quick-btn small {
    margin-left: auto;
    font-size: 12px;
    font-weight: 400;
    color: var(--color-muted);
    font-variant-numeric: tabular-nums;
}

.exec-quick-btn[data-state="done"],
.exec-quick-btn.property-share-action[data-state="copied"] {
    background: #12452e;
    border-color: #12452e;
    color: #f8faf5;
}

.exec-quick-btn[data-state="done"] svg,
.exec-quick-btn.property-share-action[data-state="copied"] svg {
    color: #e3e859;
}

.exec-footnote {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #dce5d6;
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-muted);
    text-align: center;
}

@media (hover: hover) and (pointer: fine) {
    .property-summary dl > div:hover .summary-icon-tile {
        background: #12452e;
        border-color: #12452e;
        color: #e3e859;
        transform: scale(1.06);
    }

    .property-map-cta:hover {
        background: #e3ecd9;
        border-color: #9ab094;
    }

    .exec-wa-cta:hover {
        background-color: #12713a;
        border-color: #0e5d2f;
        box-shadow:
            0 1px 2px oklch(20% 0.05 155 / 0.12),
            0 4px 12px oklch(30% 0.09 152 / 0.18);
    }

    .exec-wa-cta:hover .exec-wa-icon {
        transform: scale(1.07) rotate(-4deg);
    }

    .exec-quick-btn:not([data-state="done"]):not([data-state="copied"]):hover {
        background: #ffffff;
        border-color: #9ab094;
    }
}

@media (max-width: 760px) {
    .alamo-property {
        padding-top: 10px;
    }

    .property-top-bar {
        gap: 8px;
        margin-bottom: 10px;
    }

    .alamo-property .property-masthead {
        gap: 14px;
        margin-bottom: 16px;
    }

    .alamo-property .property-title h1 {
        font-size: clamp(26px, 7.2vw, 34px);
    }

    .alamo-property .property-value {
        border: 1px solid #0b2d1d;
        padding: 14px 18px;
        min-width: 0;
    }

    .alamo-property .detail-gallery {
        height: 360px;
        border-radius: 12px;
        gap: 8px;
    }

    .property-mobile-bar-price .mobile-price-symbol {
        color: #2c6e49;
        font-weight: 600;
    }

    .property-mobile-bar-price small {
        font-size: 11.5px;
        font-weight: 400;
        color: var(--color-muted);
    }
}

.gallery-tile-affordance {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: color-mix(in oklab, #f8faf5 92%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #103e2b;
    box-shadow: 0 3px 12px oklch(15% 0.03 155 / 0.18);
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    transition:
        opacity 200ms var(--ease-out),
        transform 200ms var(--ease-out);
}

.gallery-tile-affordance svg {
    width: 17px;
    height: 17px;
}

.gallery-more-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 11px;
    border-radius: 6px;
    background: oklch(18% 0.03 155 / 0.8);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #f8faf5;
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

/* Prevent mobile gallery trigger from overlapping the bottom-right WhatsApp FAB */
@media (max-width: 760px) {
    .alamo-property .gallery-view-all {
        left: 12px;
        right: auto;
        bottom: 12px;
    }
}

.property-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.property-fav-action,
.property-share-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 15px;
    border-radius: 8px;
    background: var(--color-paper-2);
    border: 1px solid var(--color-rule);
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 500;
}

.property-fav-action svg,
.property-share-action svg {
    width: 18px;
    height: 18px;
    flex: none;
    transition: fill 180ms ease, color 180ms ease, transform 220ms var(--ease-out);
}

.property-share-action svg {
    width: 16px;
    height: 16px;
}

@media (hover: hover) and (pointer: fine) {
    .property-fav-action:hover,
    .property-share-action:hover {
        background: var(--color-paper-3);
        border-color: var(--color-ink);
    }
}

.property-share-action[data-state="copied"],
.blog-share-btn[data-state="copied"] {
    background: #12452e;
    border-color: #12452e;
    color: #f8faf5;
}

.property-fav-action[aria-pressed="true"] {
    background: #f6ebe9;
    border-color: color-mix(in oklab, var(--color-favorite) 45%, transparent);
    color: var(--color-favorite);
}

.property-fav-action[aria-pressed="true"] svg {
    fill: var(--color-favorite);
    color: var(--color-favorite);
}

/* Mobile floating quick-action bar on property detail (clear of WhatsApp FAB) */
.property-mobile-bar {
    display: none;
}

@media (max-width: 760px) {
    .property-toolbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .property-toolbar-actions .property-fav-action,
    .property-toolbar-actions .property-share-action {
        flex: 1 1 auto;
        justify-content: center;
    }

    .property-toolbar-actions .property-pdf-link {
        margin-left: 0;
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }

    .property-page .site-footer {
        padding-bottom: 96px;
    }

    html:has(.property-mobile-bar) {
        scroll-padding-bottom: 104px;
    }

    .property-mobile-bar {
        position: fixed;
        left: 16px;
        right: 84px;
        bottom: max(18px, env(safe-area-inset-bottom));
        z-index: 340;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 8px 8px 16px;
        border-radius: 14px;
        background: rgba(252, 252, 249, 0.95);
        -webkit-backdrop-filter: blur(16px) saturate(145%);
        backdrop-filter: blur(16px) saturate(145%);
        border: 1px solid #c4d2bf;
        box-shadow: 0 12px 30px oklch(16% 0.04 155 / 0.18);
        transform: translate3d(0, calc(100% + 28px), 0);
        opacity: 0;
        pointer-events: none;
        transition:
            transform 280ms var(--ease-drawer),
            opacity 200ms ease;
    }

    .property-mobile-bar[data-visible="true"] {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        pointer-events: auto;
    }

    .property-mobile-bar-price {
        min-width: 0;
    }

    .property-mobile-bar-price > span {
        display: block;
        font-size: 11px;
        line-height: 1.2;
        color: var(--color-muted);
    }

    .property-mobile-bar-price > strong {
        display: block;
        font-family: var(--font-display);
        font-size: 16px;
        font-weight: 600;
        line-height: 1.25;
        letter-spacing: -0.02em;
        color: var(--color-ink);
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .property-mobile-bar .button {
        min-height: 42px;
        padding: 8px 14px;
        border-radius: 10px;
        font-size: 13px;
        gap: 8px;
        flex: none;
    }

    .property-mobile-bar .button svg {
        width: 16px;
        height: 16px;
    }
}

/* ==========================================================================
   10. Microinteractions: Inquiry Form, PDF Download, Copy Reference
   ========================================================================== */

/* Shared inline spinner & checkmark draw */
.alamo-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    flex: none;
    animation: alamo-spin 580ms linear infinite;
}

@keyframes alamo-spin {
    to { transform: rotate(360deg); }
}

.alamo-check-icon {
    width: 18px;
    height: 18px;
    flex: none;
}

.alamo-check-icon path {
    stroke-dasharray: 24;
    stroke-dashoffset: 0;
    animation: alamo-check-draw 300ms var(--ease-out);
}

@keyframes alamo-check-draw {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
}

/* Button label blur-masked swap (Emil's crossfade polish) */
.btn-label,
.pdf-label,
.fav-label {
    transition: opacity 150ms ease, filter 150ms ease;
}

[data-state="swapping"] .btn-label,
[data-state="swapping"] .pdf-label {
    opacity: 0.35;
    filter: blur(2px);
}

/* Copy reference button in property toolbar */
.ref-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-muted);
    font-size: 13px;
}

.ref-copy-btn .ref-copy-code {
    margin: 0;
    color: var(--color-ink);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.ref-copy-btn .ref-copy-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 68px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--color-paper-2);
    color: var(--color-ink-2);
    font-size: 11px;
    font-weight: 500;
    transition: background-color 180ms ease, color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .ref-copy-btn:hover {
        background: var(--color-paper-2);
        border-color: var(--color-rule);
    }

    .ref-copy-btn:hover .ref-copy-state {
        background: var(--color-paper-3);
        color: var(--color-ink);
    }
}

.ref-copy-btn[data-state="copied"] {
    background: var(--color-paper-2);
    border-color: #2c6e49;
}

.ref-copy-btn[data-state="copied"] .ref-copy-state {
    background: #12452e;
    color: #fff;
}

/* PDF Download microinteraction states */
.alamo-property .property-pdf-link[data-state="loading"] {
    opacity: 0.88;
    cursor: progress;
}

.alamo-property .property-pdf-link[data-state="done"] {
    background: #12452e;
    color: #fff;
    border-color: #12452e;
}

.alamo-property .property-pdf-link[data-state="done"] .pdf-format {
    color: #dce8d7;
    border-color: #447056;
}

.alamo-property .property-pdf-link[data-state="error"],
.contact-pdf[data-state="error"] {
    color: var(--color-error);
}

.contact-pdf[data-state="done"] {
    color: #12452e;
    font-weight: 500;
}

/* Inquiry Form inline feedback & state transitions */
.inquiry-live-feedback {
    padding: 18px 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.55;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}

@starting-style {
    .inquiry-live-feedback {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }
}

.inquiry-live-feedback:empty {
    display: none;
    padding: 0;
    margin: 0;
    border: 0;
}

.inquiry-live-feedback.is-success {
    background: #eaf3e5;
    border: 1px solid #3c7a52;
    color: #103e2b;
}

.inquiry-live-feedback.is-success .feedback-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
}

.inquiry-live-feedback.is-success p {
    margin-top: 6px;
    color: #294c38;
    font-size: 13px;
}

.inquiry-live-feedback.is-error {
    background: #fdf2f0;
    border: 1px solid var(--color-error);
    color: var(--color-error);
}

.inquiry-live-feedback.is-error ul {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 13px;
}

.inquiry-form [aria-invalid="true"] {
    border-color: var(--color-error);
    box-shadow: 0 0 0 2px color-mix(in oklab, var(--color-error) 16%, transparent);
}

.inquiry-form button[data-state="done"] {
    background: #12452e;
    color: #fff;
}

.inquiry-form.is-shaking {
    animation: alamo-nudge 260ms var(--ease-out);
}

@keyframes alamo-nudge {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    65% { transform: translateX(5px); }
}

/* ==========================================================================
   11. Sonner-Inspired Architectural Toast (symmetric bottom enter/exit)
   Positioned bottom-left on desktop so it never collides with WhatsApp FAB.
   ========================================================================== */

.alamo-toast-region {
    position: fixed;
    left: 28px;
    bottom: 28px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: min(360px, calc(100vw - 112px));
    pointer-events: none;
}

.alamo-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #103e2b;
    color: #f4f7f1;
    border: 1px solid oklch(48% 0.06 155 / 0.5);
    box-shadow: 0 12px 28px oklch(14% 0.04 155 / 0.24);
    font-size: 13px;
    line-height: 1.4;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity 400ms ease,
        transform 400ms ease;
}

@starting-style {
    .alamo-toast {
        opacity: 0;
        transform: translateY(100%) scale(0.97);
    }
}

.alamo-toast[data-leaving="true"] {
    opacity: 0;
    transform: translateY(calc(100% + 16px)) scale(0.97);
    transition:
        opacity 260ms ease,
        transform 260ms ease;
}

.alamo-toast-icon {
    display: inline-flex;
    flex: none;
    color: var(--color-accent);
}

.alamo-toast-text {
    flex: 1;
    min-width: 0;
}

.alamo-toast-action {
    flex: none;
    padding: 4px 9px;
    border-radius: 6px;
    background: oklch(95% 0.01 145 / 0.14);
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 500;
    min-height: 30px;
    transition: background-color 160ms ease, transform var(--dur-press) var(--ease-out);
}

.alamo-toast-action:active {
    transform: scale(0.96);
}

.alamo-toast-close {
    flex: none;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    padding: 0;
    border-radius: 6px;
    background: transparent;
    color: #d3e0cd;
    font-size: 16px;
    line-height: 1;
    transition: background-color 160ms ease, color 160ms ease;
}

.alamo-toast-close:hover {
    background: oklch(95% 0.01 145 / 0.14);
    color: #ffffff;
}

.alamo-toast-close:focus-visible,
.alamo-toast-action:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

@media (max-width: 700px) {
    .alamo-toast-region {
        left: 16px;
        right: 84px;
        bottom: max(18px, env(safe-area-inset-bottom));
        max-width: none;
    }
}

/* ==========================================================================
   11b. Cuaderno Álamo Interactive Systems (Gliding Filter Pill, Async Swap, Smooth TOC)
   ========================================================================== */

.blog-filter-bar {
    position: relative;
    isolation: isolate;
}

.blog-filter-hover-pill {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--blog-pill-w, 0px);
    height: var(--blog-pill-h, 40px);
    border-radius: var(--radius-pill);
    background: #e4ece0;
    transform: translate3d(var(--blog-pill-x, 0px), var(--blog-pill-y, 0px), 0);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition:
        transform 240ms var(--ease-editorial),
        width 240ms var(--ease-editorial),
        height 240ms var(--ease-editorial),
        opacity 160ms ease;
}

.blog-filter-bar[data-hovering="true"] .blog-filter-hover-pill {
    opacity: 1;
}

.blog-filter-bar[data-pill-ready="false"] .blog-filter-hover-pill {
    transition: opacity 160ms ease;
}

.blog-filter-pill {
    position: relative;
    z-index: 1;
}

/* When JS gliding pill is active, let it supply the hover surface for inactive pills */
@media (hover: hover) and (pointer: fine) {
    html.js .blog-filter-bar .blog-filter-pill:not(.is-active):hover {
        background: transparent;
        border-color: #9ab094;
    }
}

.blog-progress-bar {
    position: relative;
    height: 3px;
    margin-bottom: 18px;
    border-radius: 3px;
    overflow: hidden;
    background: transparent;
    opacity: 0;
    transition: opacity 160ms ease;
}

.blog-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 38%;
    border-radius: inherit;
    background: #12452e;
    transform: translateX(-100%);
}

.blog-archive[aria-busy="true"] .blog-progress-bar {
    background: var(--color-paper-3);
    opacity: 1;
}

.blog-archive[aria-busy="true"] .blog-progress-bar::after {
    animation: alamo-indeterminate 800ms var(--ease-in-out) infinite;
}

.blog-archive-body {
    transition: opacity 220ms var(--ease-editorial), transform 260ms var(--ease-editorial);
}

.blog-archive[aria-busy="true"] .blog-archive-body {
    opacity: 0.46;
    pointer-events: none;
}

.blog-archive-body.is-entering {
    opacity: 0;
    transform: translateY(14px);
}

.blog-archive-body .is-blog-entering {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: none;
}

.blog-archive-body .is-blog-entered {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity 320ms var(--ease-editorial) var(--blog-delay, 0ms),
        transform 360ms var(--ease-editorial) var(--blog-delay, 0ms);
}

/* Smooth gliding TOC active rail indicator + heading target wash */
.blog-toc-list {
    position: relative;
}

.blog-toc-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5px;
    height: var(--toc-h, 20px);
    border-radius: 2px;
    background: #12452e;
    transform: translate3d(0, var(--toc-y, 0px), 0);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 260ms var(--ease-editorial),
        height 240ms var(--ease-editorial),
        opacity 180ms ease;
}

.blog-toc[data-indicator-ready="true"] .blog-toc-indicator {
    opacity: 1;
}

html.js .blog-toc[data-indicator-ready="true"] a.is-current {
    border-left-color: transparent;
}

.blog-prose h2 {
    border-radius: 6px;
    transition: background-color 420ms ease;
}

.blog-prose h2.is-toc-target {
    animation: alamo-heading-pulse 1100ms var(--ease-editorial);
}

.identity-panel:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 4px;
    border-radius: 8px;
}

/* Mobile / coarse-pointer comfortable 44x44 touch targets (WCAG 2.5.5 / HIG) */
@media (max-width: 760px), (pointer: coarse) {
    .property-fav-btn {
        width: 44px;
        height: 44px;
    }

    .saved-filter-toggle,
    .page-breadcrumb a,
    .blog-breadcrumb a,
    .property-breadcrumb a,
    .hero-shortcuts a,
    .identity-tabs-track button,
    .home-contact-direct-link {
        min-height: 44px;
    }

    .page-breadcrumb a,
    .blog-breadcrumb a,
    .property-breadcrumb a {
        min-width: 44px;
    }
}

@keyframes alamo-heading-pulse {
    0% {
        background-color: color-mix(in oklab, var(--color-accent) 42%, transparent);
    }
    100% {
        background-color: transparent;
    }
}

/* ==========================================================================
   12. Heroicons Animated Micro-Interaction System
   Faithful CSS ports of heroicons-animated.com hover choreography.
   Strictly fine-pointer gated; icons stay centered inside tiles & buttons.
   ========================================================================== */

.hi-icon {
    overflow: visible;
    transform-origin: center;
}

.hi-icon .hi-arrow-head,
.hi-icon .hi-arrow-shaft,
.hi-icon .hi-arrow-diag,
.hi-icon .hi-bar,
.hi-icon .hi-corner,
.hi-icon .hi-camera-lens,
.hi-icon .hi-doc-arrow,
.hi-icon .hi-users-second,
.hi-icon .hi-spark,
.hi-icon .hi-knob {
    transform-box: fill-box;
    transform-origin: center;
}

.hi-icon .hi-scale-beam {
    transform-origin: 12px 4.5px;
}

.hi-icon .hi-arrow-diag {
    transform-origin: 19.5px 4.5px;
}

.hi-icon .hi-camera-lens {
    transform-origin: 12px 12.75px;
}

.hi-icon .hi-check-stroke,
.hi-icon .hi-x-1,
.hi-icon .hi-x-2 {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

/* Keep icon centered inside .icon-tile and never shifted horizontally */
.service-card .icon-tile .hi-icon {
    transform: none;
}

@media (hover: hover) and (pointer: fine) {
    /* Trigger container helper: animates the Heroicon when hovering it or its parent */
    :is(a, button, summary, .service-card, .property-card, .perspective-detail, .home-contact-form-heading, .property-summary dl > div, .numbers-grid > div, .property-amenities li, .catalog-filters-heading, .hero-baseline .locale):hover .hi-icon--home,
    .hi-icon--home:hover,
    :is(a, button, .numbers-heading, .property-summary dl > div):hover .hi-icon--home-modern,
    .hi-icon--home-modern:hover {
        animation: hi-home-pop 420ms var(--ease-editorial);
    }

    :is(a, button, .service-card, .perspective-detail):hover .hi-icon--key,
    .hi-icon--key:hover {
        animation: hi-key-jiggle 820ms var(--ease-editorial);
    }

    :is(a, button, .service-card, .numbers-grid > div):hover .hi-icon--scale .hi-scale-beam,
    .hi-icon--scale:hover .hi-scale-beam {
        animation: hi-scale-balance 1100ms ease-in-out;
    }

    :is(a, button, .service-card, .property-card, .blog-lead-link, .journal-card-trigger):hover .hi-icon--arrow-right .hi-arrow-head,
    .hi-icon--arrow-right:hover .hi-arrow-head {
        animation: hi-arrow-right-head 420ms var(--ease-editorial);
    }

    :is(a, button, .service-card, .property-card, .blog-lead-link, .journal-card-trigger):hover .hi-icon--arrow-right .hi-arrow-shaft,
    .hi-icon--arrow-right:hover .hi-arrow-shaft {
        animation: hi-arrow-right-shaft 420ms var(--ease-editorial);
    }

    :is(a, button, .blog-share-btn, .property-share-action):hover .hi-icon--arrow-up-right .hi-arrow-diag,
    .hi-icon--arrow-up-right:hover .hi-arrow-diag {
        animation: hi-arrow-up-right 480ms ease-in-out;
    }

    :is(button, a):hover .hi-icon--bars-3 .hi-bar--1,
    .hi-icon--bars-3:hover .hi-bar--1 {
        animation: hi-bar-pulse 320ms ease-in-out 0ms;
    }

    :is(button, a):hover .hi-icon--bars-3 .hi-bar--2,
    .hi-icon--bars-3:hover .hi-bar--2 {
        animation: hi-bar-pulse 320ms ease-in-out 90ms;
    }

    :is(button, a):hover .hi-icon--bars-3 .hi-bar--3,
    .hi-icon--bars-3:hover .hi-bar--3 {
        animation: hi-bar-pulse 320ms ease-in-out 180ms;
    }

    :is(a, button):hover .hi-icon--x-mark .hi-x-1,
    .hi-icon--x-mark:hover .hi-x-1 {
        animation: hi-stroke-draw 260ms var(--ease-out);
    }

    :is(a, button):hover .hi-icon--x-mark .hi-x-2,
    .hi-icon--x-mark:hover .hi-x-2 {
        animation: hi-stroke-draw 260ms var(--ease-out) 110ms both;
    }

    :is(a, button, .catalog-empty):hover .hi-icon--magnifying-glass,
    .hi-icon--magnifying-glass:hover {
        animation: hi-search-peek 760ms var(--ease-editorial);
    }

    :is(a, button, .property-card, .property-address, .hero-baseline .locale, .property-location-block > p):hover .hi-icon--map-pin,
    .hi-icon--map-pin:hover {
        animation: hi-pin-hop 440ms var(--ease-editorial);
    }

    :is(a, button, .perspective-detail, .property-contact-card):hover .hi-icon--chat-bubble-left-right,
    .hi-icon--chat-bubble-left-right:hover {
        animation: hi-chat-wiggle 520ms ease-in-out;
    }

    :is(a, button, .home-contact-form-heading):hover .hi-icon--envelope,
    .hi-icon--envelope:hover {
        animation: hi-envelope-wiggle 520ms ease-in-out;
    }

    :is(a, button):hover .hi-icon--phone,
    .hi-icon--phone:hover {
        animation: hi-phone-ring 580ms ease-in-out;
    }

    :is(.catalog-filters-heading, button, a):hover .hi-icon--adjustments-horizontal .hi-knob--1,
    .hi-icon--adjustments-horizontal:hover .hi-knob--1 {
        animation: hi-knob-right 460ms var(--ease-editorial);
    }

    :is(.catalog-filters-heading, button, a):hover .hi-icon--adjustments-horizontal .hi-knob--2,
    .hi-icon--adjustments-horizontal:hover .hi-knob--2 {
        animation: hi-knob-left 460ms var(--ease-editorial);
    }

    :is(.catalog-filters-heading, button, a):hover .hi-icon--adjustments-horizontal .hi-knob--3,
    .hi-icon--adjustments-horizontal:hover .hi-knob--3 {
        animation: hi-knob-right 460ms var(--ease-editorial) 60ms;
    }

    :is(a, button, .property-card, .property-summary dl > div, .blog-article-cover > a, .blog-gallery-item > a):hover .hi-icon--arrows-pointing-out .hi-corner--tl,
    .hi-icon--arrows-pointing-out:hover .hi-corner--tl {
        animation: hi-expand-tl 480ms var(--ease-editorial);
    }

    :is(a, button, .property-card, .property-summary dl > div, .blog-article-cover > a, .blog-gallery-item > a):hover .hi-icon--arrows-pointing-out .hi-corner--tr,
    .hi-icon--arrows-pointing-out:hover .hi-corner--tr {
        animation: hi-expand-tr 480ms var(--ease-editorial);
    }

    :is(a, button, .property-card, .property-summary dl > div, .blog-article-cover > a, .blog-gallery-item > a):hover .hi-icon--arrows-pointing-out .hi-corner--bl,
    .hi-icon--arrows-pointing-out:hover .hi-corner--bl {
        animation: hi-expand-bl 480ms var(--ease-editorial);
    }

    :is(a, button, .property-card, .property-summary dl > div, .blog-article-cover > a, .blog-gallery-item > a):hover .hi-icon--arrows-pointing-out .hi-corner--br,
    .hi-icon--arrows-pointing-out:hover .hi-corner--br {
        animation: hi-expand-br 480ms var(--ease-editorial);
    }

    :is(a, button, .property-card, .detail-no-photos):hover .hi-icon--camera,
    .hi-icon--camera:hover {
        animation: hi-camera-body 320ms ease-in-out;
    }

    :is(a, button, .property-card, .detail-no-photos):hover .hi-icon--camera .hi-camera-lens,
    .hi-icon--camera:hover .hi-camera-lens {
        animation: hi-camera-lens 320ms ease-in-out;
    }

    :is(a, button):hover .hi-icon--document-arrow-down .hi-doc-arrow,
    .hi-icon--document-arrow-down:hover .hi-doc-arrow {
        animation: hi-doc-down 480ms var(--ease-editorial);
    }

    :is(li, a, button):hover .hi-icon--check-circle .hi-check-stroke,
    .hi-icon--check-circle:hover .hi-check-stroke,
    :is(li, a, button):hover .hi-icon--clipboard-document-check .hi-check-stroke,
    .hi-icon--clipboard-document-check:hover .hi-check-stroke {
        animation: hi-stroke-draw 420ms ease-in-out;
    }

    :is(.numbers-grid > div, a, button):hover .hi-icon--calendar-days .hi-cal-dot--1,
    .hi-icon--calendar-days:hover .hi-cal-dot--1 {
        animation: hi-dot-blink 420ms ease 0ms;
    }

    :is(.numbers-grid > div, a, button):hover .hi-icon--calendar-days .hi-cal-dot--2,
    .hi-icon--calendar-days:hover .hi-cal-dot--2 {
        animation: hi-dot-blink 420ms ease 100ms;
    }

    :is(.numbers-grid > div, a, button):hover .hi-icon--calendar-days .hi-cal-dot--3,
    .hi-icon--calendar-days:hover .hi-cal-dot--3 {
        animation: hi-dot-blink 420ms ease 200ms;
    }

    :is(.numbers-grid > div, .property-advisor, a, button):hover .hi-icon--users .hi-users-second,
    .hi-icon--users:hover .hi-users-second {
        animation: hi-users-join 480ms var(--ease-editorial);
    }

    :is(.testimonial, a, button):hover .hi-icon--sparkles .hi-spark--1,
    .hi-icon--sparkles:hover .hi-spark--1 {
        animation: hi-sparkle 900ms ease-in-out 0ms;
    }

    :is(.testimonial, a, button):hover .hi-icon--sparkles .hi-spark--2,
    .hi-icon--sparkles:hover .hi-spark--2 {
        animation: hi-sparkle 900ms ease-in-out 140ms;
    }

    :is(.testimonial, a, button):hover .hi-icon--sparkles .hi-spark--3,
    .hi-icon--sparkles:hover .hi-spark--3 {
        animation: hi-sparkle 900ms ease-in-out 280ms;
    }

    :is(.property-summary dl > div, .property-card):hover .hi-icon--bed,
    :is(.property-summary dl > div):hover .hi-icon--bath,
    :is(.property-summary dl > div):hover .hi-icon--car-front,
    :is(.property-summary dl > div):hover .hi-icon--ruler {
        animation: hi-home-pop 400ms var(--ease-editorial);
    }
}

@keyframes hi-home-pop {
    0%, 100% { transform: translateY(0) scale(1); }
    45% { transform: translateY(-2px) scale(1.12); }
}

@keyframes hi-key-jiggle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    22% { transform: translateY(-3px) rotate(6deg); }
    46% { transform: translateY(0) rotate(-6deg); }
    68% { transform: translateY(-2px) rotate(3deg); }
}

@keyframes hi-scale-balance {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(9deg); }
    42% { transform: rotate(-9deg); }
    64% { transform: rotate(5deg); }
    82% { transform: rotate(-4deg); }
}

@keyframes hi-arrow-right-head {
    0%, 100% { transform: translateX(0); }
    45% { transform: translateX(-3px); }
}

@keyframes hi-arrow-right-shaft {
    0%, 100% { transform: scaleX(1); }
    45% { transform: scaleX(0.84); }
}

@keyframes hi-arrow-up-right {
    0%, 100% { transform: translate(0, 0) scale(1); }
    45% { transform: translate(-3px, 3px) scale(0.86); }
}

@keyframes hi-bar-pulse {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.6); }
}

@keyframes hi-stroke-draw {
    0% { stroke-dashoffset: 1; opacity: 0.2; }
    100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes hi-search-peek {
    0%, 100% { transform: translate(0, 0); }
    30% { transform: translate(0, -3px); }
    65% { transform: translate(-2.5px, 0); }
}

@keyframes hi-pin-hop {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(-4px); }
}

@keyframes hi-chat-wiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    30% { transform: rotate(-7deg) scale(1.06); }
    65% { transform: rotate(7deg) scale(1.06); }
}

@keyframes hi-envelope-wiggle {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-5deg); }
    45% { transform: rotate(5deg); }
    68% { transform: rotate(-3deg); }
    85% { transform: rotate(3deg); }
}

@keyframes hi-phone-ring {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
    88% { transform: rotate(5deg); }
}

@keyframes hi-knob-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

@keyframes hi-knob-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-3px); }
}

@keyframes hi-expand-tl {
    0%, 100% { transform: translate(0, 0); }
    45% { transform: translate(-2px, -2px); }
}

@keyframes hi-expand-tr {
    0%, 100% { transform: translate(0, 0); }
    45% { transform: translate(2px, -2px); }
}

@keyframes hi-expand-bl {
    0%, 100% { transform: translate(0, 0); }
    45% { transform: translate(-2px, 2px); }
}

@keyframes hi-expand-br {
    0%, 100% { transform: translate(0, 0); }
    45% { transform: translate(2px, 2px); }
}

@keyframes hi-camera-body {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.94); }
}

@keyframes hi-camera-lens {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.6; }
}

@keyframes hi-doc-down {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(2.5px); }
}

@keyframes hi-dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@keyframes hi-users-join {
    0% { transform: translateX(-5px); opacity: 0.2; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes hi-sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    30% { opacity: 0.35; transform: scale(1.18); }
    60% { opacity: 1; transform: scale(0.95); }
}

/* ==========================================================================
   13. Reduced Motion — Tiered Graceful Degradation (WCAG 2.3.3 / C39)
   Windows: Settings > Accessibility > Visual effects > Animation effects (off)
   macOS:   System Settings > Accessibility > Display > Reduce motion (on)

   Tier 1 (Remove): parallax, large slides, zoom/scale, 3D/ambient loops, blur, smooth-scroll.
   Tier 2 (Soften): replace spatial entrances/exits with short opacity fades (<= 180ms).
   Tier 3 (Keep):   color/background/border/focus transitions, spinners, calm busy pulse & TOC wash.
   ========================================================================== */

@keyframes alamo-busy-pulse {
    0%, 100% { opacity: 0.42; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    /* Global safety net: 0.01ms (never 0s) so transitionend / animationend still fire;
       iteration-count: 1 stops any un-tiered infinite loops automatically. */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* ----------------------------------------------------------------------
       Tier 1 — Remove vestibular triggers, spatial displacement, scale, blur & ambient loops
       ---------------------------------------------------------------------- */
    .hi-icon,
    .hi-icon * {
        animation: none !important;
    }

    .home-page .hero-band .hero-image > img,
    .home-page .hero-band .hero-image > video,
    .blog-article-cover > a > img,
    .property-page .detail-gallery .gallery-main > img,
    .inquiry-form.is-shaking,
    .alamo-check-icon path {
        animation: none !important;
        transform: none !important;
    }

    body:is(.home-page, :not(.home-page)) .site-header-band[data-scrolled="true"] .brand img,
    body:is(.home-page, :not(.home-page)) .site-header-band .nav-cta:hover,
    body:is(.home-page, :not(.home-page)) .site-header-band .nav-cta:hover .nav-cta-icon svg,
    body:is(.home-page, :not(.home-page)) .site-header-band .nav-cta:active {
        transform: none !important;
    }

    .property-card[data-reveal="pending"] .property-picture,
    .property-card[data-reveal="visible"] .property-picture,
    .property-card[data-reveal="pending"] .property-picture img,
    .property-card[data-reveal="visible"] .property-picture img,
    .journal-card[data-reveal="pending"] .journal-media,
    .journal-card[data-reveal="visible"] .journal-media,
    .journal-card[data-reveal="pending"] .journal-media > img,
    .journal-card[data-reveal="visible"] .journal-media > img,
    .blog-gallery-item[data-reveal="pending"] > a,
    .blog-gallery-item[data-reveal="visible"] > a,
    .blog-gallery-item[data-reveal="pending"] > a > img,
    .blog-gallery-item[data-reveal="visible"] > a > img,
    [data-reveal-media="pending"] > img,
    [data-reveal-media="visible"] > img,
    .perspective-visual[data-reveal-media="pending"] > img,
    .perspective-visual[data-reveal-media="visible"] > img,
    .perspective-visual[data-reveal-media="done"] > img {
        clip-path: none;
        transform: none !important;
        transition: none;
    }

    .home-page .hero-band .search-box:focus-within {
        transform: none;
    }

    /* Neutralize all press/tap scales & nudges */
    a:active,
    button:active,
    .hero a:active,
    .pdf-download:active,
    .button:not(:disabled):active,
    .menu-toggle:active,
    .gallery-view-all:active,
    .property-pdf-link:not([data-state="loading"]):active,
    .property-fav-btn:active,
    .property-fav-action:active,
    .property-share-action:active,
    .catalog-mobile-toggle:active,
    .catalog-segmented label:not(:has(input:checked)):active,
    .catalog-segmented label:active,
    .catalog-search-clear:active,
    .catalog-filters .clear-filters:active,
    .saved-filter-toggle:active,
    .square-link:active,
    .filter-chip:active,
    .ref-copy-btn:active,
    .hero-shortcuts a:active,
    .floating-whatsapp:active,
    .detail-gallery > a:active,
    .blog-article-cover > a:active,
    .blog-gallery-item > a:active,
    .property-map-cta:active,
    .exec-wa-cta:active,
    .exec-quick-btn:active,
    .exec-quick-btn.property-share-action:active,
    .home-page .operation-tabs label:active,
    .alamo-toast-action:active,
    .journal-card-trigger:active,
    .identity-tabs-track button:active,
    .journal-dialog-close:active,
    .home-contact-direct-link:active,
    .wa-intent-card:active,
    .home-page .home-contact-form.wa-composer .wa-primary-cta:active {
        transform: none !important;
    }

    /* Neutralize all hover spatial lifts, shifts & image zooms */
    .service-card:hover,
    .service-grid.is-shown .service-card:hover,
    .service-card:hover .icon-tile,
    .property-card:hover,
    .property-card:hover .property-picture img,
    .property-picture:hover img,
    .property-card:hover .square-link svg,
    .property-fav-btn:hover svg,
    .alamo-property .detail-gallery a:hover img,
    .blog-lead-link:hover,
    .blog-lead-link:hover .blog-lead-media > img,
    .blog-article-cover > a:hover > img,
    .blog-gallery-item > a:hover > img,
    .blog-lead-link:hover .blog-read-more svg,
    .blog-page .journal-card-trigger:hover,
    .journal-card-trigger:hover .journal-media > img,
    .journal-card-trigger:hover .journal-action svg,
    .property-summary dl > div:hover,
    .property-summary dl > div:hover .summary-icon-tile,
    .alamo-property .property-data-list > div:hover,
    .property-amenities li:hover,
    .exec-wa-cta:hover .exec-wa-icon,
    .t-learn:hover .t-learn-chevron,
    .home-owner-intro a:hover svg,
    .hero-founders-cta:hover svg,
    .hero-conversation:hover svg,
    .hero-shortcuts a:hover,
    .hero-shortcuts a:hover svg,
    .floating-whatsapp:hover,
    .home-page .hero-tree:hover .hero-tree-emblem,
    .identity-arch-stage:hover .arch-scene,
    .property-bottom-tagline:hover .property-bottom-tree {
        transform: none !important;
    }

    /* Preserve static portrait crop without hover zoom */
    .hero-founder-frame > img,
    .hero-founder:hover .hero-founder-frame > img {
        transform: translateY(var(--founder-y, 0%)) scale(var(--founder-scale, 1)) !important;
    }

    /* Strip blur filters from text/label swaps */
    .catalog-submit-content.is-transitioning,
    [data-state="swapping"] .btn-label,
    [data-state="swapping"] .pdf-label,
    .wa-bubble-input.is-updating {
        filter: none;
    }

    /* Sliding indicators snap cleanly without gliding across tracks */
    .operation-tabs-pill,
    .segmented-pill,
    .segmented-pill-shadow,
    .segmented-active-layer,
    .identity-tabs-pill,
    .blog-toc-indicator,
    .catalog-mobile-toggle svg,
    .faq-list summary svg {
        transition: none;
    }

    /* ----------------------------------------------------------------------
       Tier 2 — Soften / shorten spatial entrances & exits to calm opacity fades (<= 180ms)
       ---------------------------------------------------------------------- */
    .home-page .site-header .brand,
    .home-page .site-header .nav-links:not(.t-dropdown),
    .home-page .site-header .header-actions,
    .home-page .site-header > .button,
    .home-page .site-header .menu-toggle,
    .hero-line,
    .page-line,
    .page-breadcrumb,
    .blog-breadcrumb,
    .property-breadcrumb,
    .catalog-header-lead,
    .blog-masthead-lead,
    .blog-standfirst,
    .blog-filter-bar,
    .blog-article-kicker,
    .blog-article-header h1,
    .blog-byline-bar,
    .blog-article-cover > a,
    .blog-article-cover figcaption,
    .property-page .property-title,
    .property-page .property-value,
    .property-page .property-gallery-wrap,
    .property-page .property-toolbar,
    .home-page .hero-intro .home-owner-intro,
    .home-page .hero-band .hero-image,
    .home-page .hero-founder--german .hero-founder-frame,
    .home-page .hero-founder--partner .hero-founder-frame,
    .home-page .hero-founder--german figcaption,
    .home-page .hero-founder--partner figcaption,
    .home-page .hero-founders-meta,
    .home-page .hero-band .hero-baseline,
    .home-page .hero-tree {
        animation: alamo-fade-only 180ms ease 0ms both !important;
        transform: none;
        clip-path: none;
    }

    [data-reveal="pending"],
    .service-card[data-reveal="pending"],
    .property-card[data-reveal="pending"],
    .journal-card[data-reveal="pending"],
    .blog-gallery-item[data-reveal="pending"],
    .property-summary dl > div[data-reveal="pending"],
    .testimonial[data-reveal="pending"],
    [data-reveal-media="pending"] {
        opacity: 0;
        transform: none;
        clip-path: none;
    }

    [data-reveal="visible"],
    .service-card[data-reveal="visible"],
    .property-card[data-reveal="visible"],
    .journal-card[data-reveal="visible"],
    .blog-gallery-item[data-reveal="visible"],
    .property-summary dl > div[data-reveal="visible"],
    .testimonial[data-reveal="visible"],
    .home-contact-form[data-reveal="visible"],
    [data-reveal-media="visible"] {
        opacity: 1;
        transform: none;
        clip-path: none;
        transition: opacity 180ms ease;
        transition-duration: 180ms !important;
    }

    img[data-img-loading="done"],
    .property-bottom-tree {
        transition: opacity 180ms ease;
        transition-duration: 180ms !important;
    }

    .t-dropdown,
    .t-dropdown.is-open,
    .t-dropdown.is-closing {
        transform: none;
        transition: opacity 150ms ease;
        transition-duration: 150ms !important;
    }

    .alamo-toast,
    .alamo-toast[data-leaving="true"] {
        transform: none;
        transition: opacity 160ms ease;
        transition-duration: 160ms !important;
    }

    .property-mobile-bar,
    .property-mobile-bar[data-visible="true"] {
        transform: none;
        transition: opacity 160ms ease;
        transition-duration: 160ms !important;
    }

    .identity-panel,
    .journal-dialog,
    .journal-dialog[open],
    .inquiry-live-feedback {
        transform: none;
        transition: opacity 160ms ease;
        transition-duration: 160ms !important;
    }

    html.js .catalog-price-collapse,
    html.js .catalog-price-collapse[data-open="true"] {
        transform: none;
        transition: opacity 150ms ease;
        transition-duration: 150ms !important;
    }

    .filter-count-badge,
    .catalog-filters .clear-filters,
    .catalog-search-clear,
    .field-active-dot,
    .catalog-sort-hint,
    .filter-chip,
    .filter-chip.is-removing,
    .saved-filter-toggle,
    .gallery-tile-affordance {
        transform: none;
        transition: opacity 150ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease;
        transition-duration: 150ms !important;
    }

    .catalog-results-body,
    .catalog-results-body.is-entering,
    .catalog-property-grid .property-card.is-catalog-entering,
    .catalog-property-grid .property-card.is-catalog-entered,
    .blog-archive-body,
    .blog-archive-body.is-entering,
    .blog-archive-body .is-blog-entering,
    .blog-archive-body .is-blog-entered {
        transform: none;
        transition: opacity 160ms ease;
        transition-duration: 160ms !important;
    }

    .catalog-progress-bar,
    .blog-progress-bar,
    .blog-filter-hover-pill,
    body:is(.home-page, :not(.home-page)) .site-header-band .nav-hover-pill {
        transition: opacity 140ms ease;
        transition-duration: 140ms !important;
    }

    @starting-style {
        .identity-panel.is-active,
        .journal-dialog[open],
        .alamo-toast,
        .inquiry-live-feedback,
        .filter-chip,
        .saved-filter-toggle,
        .filter-count-badge,
        .catalog-filters .clear-filters,
        .catalog-search-clear,
        .catalog-sort-hint {
            opacity: 0;
            transform: none;
        }
    }

    /* Fancybox lightbox: calm 160ms crossfade instead of zoom/slide */
    .fancybox__container {
        --f-transition-duration: 160ms;
    }

    .fancybox__container .f-fadeIn,
    .fancybox__container .f-fadeOut,
    .fancybox__container .f-crossfadeIn,
    .fancybox__container .f-crossfadeOut {
        animation-duration: 160ms !important;
    }

    /* ----------------------------------------------------------------------
       Tier 3 — Always keep essential feedback & non-vestibular color/focus cues
       ---------------------------------------------------------------------- */
    .alamo-spinner {
        animation: alamo-spin 1100ms linear infinite !important;
    }

    .fancybox__container .f-spinner {
        animation-duration: 1100ms !important;
        animation-iteration-count: infinite !important;
    }

    /* Replace fast horizontal sweep with calm stationary opacity pulse */
    .catalog-results[aria-busy="true"] .catalog-progress-bar::after,
    .blog-archive[aria-busy="true"] .blog-progress-bar::after {
        width: 100%;
        transform: none;
        animation: alamo-busy-pulse 1400ms ease-in-out infinite !important;
    }

    /* Preserve color-only TOC jump orientation cue (zero movement) */
    .blog-prose h2.is-toc-target {
        animation: alamo-heading-pulse 900ms ease !important;
    }

    /* Preserve crisp color / background / border / shadow / focus transitions */
    body:is(.home-page, :not(.home-page)) .site-header-band,
    body:is(.home-page, :not(.home-page)) .site-header-band .nav-links a,
    body:is(.home-page, :not(.home-page)) .site-header-band .nav-cta,
    body:is(.home-page, :not(.home-page)) .site-header-band .nav-cta:not(.nav-cta--mobile),
    body:is(.home-page, :not(.home-page)) .site-header-band .nav-cta-icon,
    body:is(.home-page, :not(.home-page)) .site-header-band .menu-toggle,
    .button,
    .gallery-view-all,
    .property-pdf-link,
    .property-fav-btn,
    .property-fav-btn svg,
    .property-fav-action,
    .property-fav-action svg,
    .property-share-action,
    .property-share-action svg,
    .catalog-mobile-toggle,
    .square-link,
    .ref-copy-btn,
    .ref-copy-btn .ref-copy-state,
    .floating-whatsapp,
    .hero-shortcuts a,
    .service-card,
    .service-card .icon-tile,
    .property-card,
    .blog-lead-link,
    .blog-page .journal-card-trigger,
    .journal-card-trigger,
    .blog-filter-pill,
    .blog-share-btn,
    .blog-toc a,
    .property-summary dl > div,
    .summary-icon-tile,
    .alamo-property .property-data-list > div,
    .property-amenities li,
    .property-map-cta,
    .exec-wa-cta,
    .exec-quick-btn,
    .home-page .operation-tabs label,
    .catalog-segmented label,
    .identity-tabs-track button,
    .home-contact-direct-link,
    .wa-intent-card,
    .wa-intent-icon,
    .wa-bubble-out,
    .home-page .home-contact-form.wa-composer .wa-primary-cta,
    .home-page .home-contact-form.wa-composer .wa-bubble-input,
    .home-contact-form:not([data-reveal="pending"]):not([data-reveal="visible"]),
    .property-contact-card,
    .faq-list details,
    .faq-list summary,
    .alamo-toast-action,
    .alamo-toast-close,
    .btn-label,
    .pdf-label,
    .fav-label,
    .catalog-submit-content,
    .catalog-live-status,
    .catalog-field-label,
    .catalog-search-icon,
    .catalog-select-chevron,
    .catalog-price-prefix,
    .segmented-track,
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        transition-property: background-color, border-color, color, fill, stroke, box-shadow, opacity;
        transition-duration: 150ms !important;
        transition-timing-function: ease;
    }
}
