:root {
    color-scheme: light;
    --brand: #2b6f8d;
    --brand-deep: #236681;
    --brand-night: #174d66;
    --steel: #66879a;
    --gold: #b68a4a;
    --gold-soft: #e7d8bf;
    --paper: #fbfaf7;
    --ivory: #f7f3ea;
    --mist: #eef3f4;
    --stone: #d8d3c7;
    --line: rgba(35, 102, 129, .16);
    --ink: #102836;
    --muted: #657580;
    --white: #fff;
    --success: #1f8f5f;
    --danger: #a64b3f;
    --shadow-sm: 0 10px 24px rgba(23, 77, 102, .08);
    --shadow-md: 0 20px 50px rgba(23, 77, 102, .13);
    --shadow-lg: 0 34px 90px rgba(23, 77, 102, .2);
    --radius: 8px;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(180deg, rgba(247, 243, 234, .72), rgba(251, 250, 247, 0) 360px),
        var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    left: 18px;
    top: 12px;
    z-index: 120;
    border-radius: var(--radius);
    padding: 10px 14px;
    background: #fff;
    color: var(--brand-night);
    font-weight: 850;
    box-shadow: var(--shadow-md);
    transform: translateY(-140%);
    transition: transform .18s ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(182, 138, 74, .38);
    outline-offset: 3px;
}

.wrap {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(23, 77, 102, .95);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 92px;
}

.site-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.site-brand img {
    width: 168px;
    max-height: 74px;
    object-fit: contain;
}

.site-brand span {
    display: none;
    max-width: 170px;
    color: rgba(255, 255, 255, .74);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
}

.site-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
    padding: 0 13px;
    color: rgba(255, 255, 255, .78);
    white-space: nowrap;
}

.site-nav a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.site-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.mobile-menu-head,
.mobile-menu-contact {
    display: none;
}

.mobile-menu-links {
    display: contents;
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-phone,
.header-contact-link,
.header-cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
    padding: 0 13px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.header-phone {
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
}

.header-phone:hover {
    background: rgba(255, 255, 255, .1);
}

.header-contact-link {
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
}

.header-contact-link:hover {
    background: rgba(255, 255, 255, .1);
}

.header-cta {
    background: var(--gold);
    color: #fff;
}

.header-cta:hover {
    background: #c99b58;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px auto;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.home-page .site-header {
    position: absolute;
    width: 100%;
    background: linear-gradient(180deg, rgba(43, 111, 141, .5), rgba(43, 111, 141, 0));
    box-shadow: none;
    backdrop-filter: none;
}

.home-page .site-brand img {
    width: 258px;
    max-height: 106px;
}

.language-switcher {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    padding: 3px;
}

.language-switcher a {
    min-width: 34px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 850;
}

.language-switcher a.is-active {
    background: #fff;
    color: var(--brand-night);
}

.mobile-language-switcher {
    width: fit-content;
    margin-top: 8px;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 52px 0 30px;
    background:
        linear-gradient(135deg, rgba(182, 138, 74, .13), rgba(182, 138, 74, 0) 38%),
        linear-gradient(180deg, #246681, var(--brand-night));
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.contact-dock {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 38;
    display: grid;
    gap: 7px;
    width: 188px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    padding: 12px;
    background: rgba(23, 77, 102, .94);
    color: #fff;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
}

.contact-dock span {
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-dock a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: #fff;
    color: var(--brand-night);
    font-size: 12px;
    font-weight: 800;
}

.contact-dock a:last-child {
    background: var(--success);
    color: #fff;
}

.site-mobile-contact {
    display: none;
}

.footer-shell {
    display: grid;
    gap: 28px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, .7fr) auto;
    gap: 24px;
    align-items: end;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: 28px;
}

.footer-top span,
.footer-links span,
.footer-contact span {
    display: block;
    margin-bottom: 9px;
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.footer-top strong {
    max-width: 720px;
    display: block;
    color: #fff;
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.08;
}

.footer-cta {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    padding: 0 18px;
    background: #fff;
    color: var(--brand-night);
    font-weight: 850;
    white-space: nowrap;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(180px, .45fr) minmax(250px, .62fr);
    gap: 28px;
    align-items: start;
}

.footer-brand-block {
    max-width: 430px;
}

.footer-brand-block img {
    width: 156px;
    margin-bottom: 16px;
}

.footer-brand-block p,
.footer-contact p {
    margin: 0;
    line-height: 1.7;
}

.footer-links,
.footer-contact {
    display: grid;
    align-content: start;
}

.footer-grid strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-family: var(--serif);
    font-size: 22px;
}

.footer-grid a,
.footer-legal span {
    display: block;
    margin: 0 0 7px;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 18px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal span {
    margin: 0;
}

.hero-home {
    min-height: 710px;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(23, 77, 102, .78), rgba(43, 111, 141, .5) 52%, rgba(43, 111, 141, .12)),
        linear-gradient(180deg, rgba(43, 111, 141, .04), rgba(23, 77, 102, .48)),
        url("/images/locations/fuengirola.webp") center/cover;
}

.hero-home::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: linear-gradient(180deg, rgba(251, 250, 247, 0), rgba(251, 250, 247, .88) 82%, var(--paper));
}

.hero-home-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: end;
    padding: 128px 0 64px;
}

.hero-copy {
    align-self: center;
    max-width: none;
    padding-bottom: 0;
}

.eyebrow,
.form-kicker {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-home .eyebrow {
    color: var(--gold-soft);
}

.hero-copy h1 {
    max-width: 1100px;
    margin: 16px 0 18px;
    color: #fff;
    font-family: var(--serif);
    font-size: 60px;
    font-weight: 700;
    line-height: .96;
    letter-spacing: 0;
    text-shadow: 0 14px 34px rgba(8, 24, 34, .42);
}

.lead {
    max-width: 840px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
    line-height: 1.58;
    text-shadow: 0 10px 26px rgba(8, 24, 34, .34);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: none;
    margin: 2px 0 0;
}

.hero-stats div {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius);
    padding: 12px 16px;
    background: rgba(23, 77, 102, .74);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .16);
    backdrop-filter: blur(14px);
}

.hero-stats dt {
    margin: 0;
    color: #fff;
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1;
}

.hero-stats dd {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-panel {
    display: grid;
    gap: 18px;
    align-content: start;
    width: 100%;
    max-width: none;
}

.hero-panel-logo {
    width: 156px;
    justify-self: center;
    opacity: .92;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .24));
}

.hero-search {
    display: grid;
    grid-template-columns: minmax(250px, .28fr) minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 10px;
    align-items: end;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: var(--radius);
    padding: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.hero-search .form-kicker {
    display: block;
    align-self: end;
}

.hero-search h2 {
    margin-top: 8px;
    margin-bottom: 10px;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.05;
    text-align: left;
}

.search-help {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.mode-tabs {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 12px;
    padding: 5px;
    border: 1px solid rgba(23, 59, 82, .08);
    border-radius: 999px;
    background: var(--mist);
}

.mode-tab {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--steel);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    padding: 0 10px;
}

.mode-tab.is-active {
    background: var(--brand-night);
    color: #fff;
    box-shadow: 0 8px 18px rgba(13, 39, 54, .16);
}

.hero-input-row {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: center;
    border: 1px solid rgba(23, 59, 82, .16);
    border-radius: 999px;
    padding: 7px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(13, 39, 54, .03);
}

.hero-search .quick-links,
.hero-search .hero-search-assist {
    grid-column: 2;
}

.hero-input-row input {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 0 14px 0 16px;
    color: var(--ink);
    font-size: 15px;
}

.hero-input-row input:focus {
    outline: 0;
}

.round-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    color: var(--steel);
    font-size: 12px;
    font-weight: 700;
}

.quick-links a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(23, 59, 82, .1);
    border-radius: 999px;
    padding: 0 10px;
    background: rgba(238, 243, 244, .72);
}

.quick-links a:hover {
    background: #fff;
    color: var(--brand);
    border-color: currentColor;
}

.hero-search-assist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.hero-search-assist span {
    display: flex;
    align-items: center;
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.hero-search-assist span::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--success);
}

.band {
    padding: 76px 0;
}

.band + .band {
    border-top: 1px solid var(--line);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(260px, .42fr);
    gap: 36px;
    align-items: end;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1.04;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.brand-story {
    padding-top: 72px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(238, 243, 244, .42));
}

.brand-story-panel {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(480px, .78fr);
    grid-template-areas:
        "heading team"
        "copy team";
    gap: 24px 46px;
    align-items: center;
}

.brand-story-heading {
    grid-area: heading;
}

.brand-story h2 {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1.04;
}

.brand-story-copy {
    grid-area: copy;
    display: grid;
    align-content: start;
    gap: 24px;
    max-width: 720px;
}

.brand-story-text {
    display: grid;
    gap: 14px;
}

.brand-story-text p {
    margin: 0;
    color: #334a57;
    font-size: 17px;
    line-height: 1.82;
}

.team-preview {
    grid-area: team;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-self: start;
    align-items: start;
    border: 1px solid rgba(23, 77, 102, .12);
    border-radius: var(--radius-lg);
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(244, 241, 234, .76)),
        #fff;
    box-shadow: 0 22px 60px rgba(16, 40, 54, .08);
}

.team-card {
    display: grid;
    grid-template-rows: auto auto;
    overflow: hidden;
    border: 1px solid rgba(23, 77, 102, .1);
    border-radius: calc(var(--radius-lg) - 3px);
    background: rgba(255, 255, 255, .9);
}

.team-photo-placeholder {
    aspect-ratio: 4 / 5;
    min-height: 295px;
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .9) 0 52px, transparent 53px),
        linear-gradient(180deg, rgba(43, 111, 141, .18), rgba(246, 242, 233, .9)),
        repeating-linear-gradient(135deg, rgba(23, 77, 102, .055) 0 1px, transparent 1px 12px),
        #f8f5ee;
    color: #fff;
}

.team-photo-placeholder::before {
    content: "";
    position: absolute;
    inset: auto 18% 0;
    height: 43%;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(23, 77, 102, .08), rgba(23, 77, 102, .02));
}

.team-photo-placeholder.has-team-photo {
    background: #eef4f6;
}

.team-photo-placeholder.has-team-photo::before {
    display: none;
}

.team-photo-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, .72) 100%);
}

.team-photo-placeholder.has-team-photo::after {
    background: linear-gradient(180deg, rgba(5, 24, 35, 0) 54%, rgba(5, 24, 35, .28) 100%);
}

.team-photo-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-placeholder span {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(23, 77, 102, .16);
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    font-family: var(--serif);
    font-size: 34px;
    box-shadow: 0 16px 36px rgba(16, 40, 54, .12);
}

.team-card-body {
    padding: 16px 16px 18px;
}

.team-card h3 {
    margin: 0 0 6px;
    color: var(--brand-night);
    font-size: 18px;
}

.team-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.commitment-grid span {
    min-height: 50px;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 12px;
    background: rgba(255, 255, 255, .82);
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.commitment-grid span::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--gold);
}

.service-head {
    align-items: start;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.service-card {
    grid-column: span 2;
    min-height: 270px;
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative;
    border: 1px solid rgba(23, 77, 102, .12);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 16px 46px rgba(16, 40, 54, .07);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    --service-accent: var(--brand);
    --service-accent-soft: rgba(43, 111, 141, .12);
}

.service-card:nth-child(-n+2) {
    grid-column: span 3;
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 77, 102, .22);
    box-shadow: 0 24px 62px rgba(16, 40, 54, .11);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, #fff 0%, #fff 50%, rgba(255, 255, 255, .92) 67%, rgba(255, 255, 255, .5) 100%),
        linear-gradient(135deg, rgba(246, 242, 233, .38), rgba(238, 243, 244, .24));
    pointer-events: none;
}

.service-card-visual {
    position: absolute;
    inset: 0 0 0 auto;
    width: 43%;
    min-height: 0;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 72% 22%, rgba(255, 255, 255, .86) 0 54px, transparent 55px),
        linear-gradient(135deg, var(--service-accent-soft), rgba(246, 242, 233, .8)),
        repeating-linear-gradient(135deg, rgba(23, 77, 102, .065) 0 1px, transparent 1px 12px);
}

.service-card-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .56) 30%, rgba(255, 255, 255, 0) 68%),
        linear-gradient(180deg, rgba(16, 40, 54, .02), rgba(16, 40, 54, .1));
}

.service-card-visual::after {
    content: "";
    position: absolute;
    right: 18%;
    bottom: 20%;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 50%;
    background: rgba(255, 255, 255, .26);
}

.service-card:hover .service-card-mark {
    transform: translateY(-2px);
}

.service-card-number {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 2;
    border-radius: 999px;
    padding: 7px 9px;
    background: var(--brand-night);
    color: #fff;
    font-size: 11px;
    font-weight: 850;
}

.service-card-mark {
    width: 108px;
    height: 108px;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 28px;
    background: rgba(255, 255, 255, .74);
    color: var(--service-accent);
    box-shadow: 0 18px 42px rgba(16, 40, 54, .13);
    transition: transform .18s ease;
}

.service-card-mark svg {
    width: 58px;
    height: 58px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-visual-financing {
    --service-accent: #2b6f8d;
    --service-accent-soft: rgba(43, 111, 141, .16);
}

.service-card-visual-consulting {
    --service-accent: #b68a4a;
    --service-accent-soft: rgba(182, 138, 74, .15);
}

.service-card-visual-investment {
    --service-accent: #1f8f5f;
    --service-accent-soft: rgba(31, 143, 95, .14);
}

.service-card-visual-assets {
    --service-accent: #174d66;
    --service-accent-soft: rgba(23, 77, 102, .14);
}

.service-card-body {
    position: relative;
    z-index: 2;
    width: min(68%, 430px);
    padding: 30px 30px 32px;
}

.service-card:nth-child(-n+2) .service-card-body {
    width: min(62%, 470px);
}

.service-card h3 {
    margin-bottom: 14px;
    font-size: 25px;
}

.service-card strong {
    display: block;
    margin: 0 0 10px;
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.45;
}

.service-card p {
    font-size: 14px;
    line-height: 1.72;
}

.service-card-link {
    width: fit-content;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    border: 1px solid rgba(23, 77, 102, .18);
    border-radius: var(--radius);
    padding: 0 12px;
    color: var(--brand-night);
    font-size: 12px;
    font-weight: 850;
}

.service-card-link:hover {
    border-color: rgba(23, 77, 102, .34);
    background: var(--mist);
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.location-grid[data-location-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-grid[data-location-count="4"] .location-card {
    min-height: 320px;
}

.item,
.card,
.sidebox,
.contact-panel,
.filters-panel,
.feature-group,
.spec,
.seo-copy {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .86);
    box-shadow: var(--shadow-sm);
}

.item,
.seo-copy {
    padding: 22px;
}

.item h3 {
    margin: 0 0 10px;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1.15;
}

.item p,
.seo-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.location-card {
    position: relative;
    min-height: 265px;
    display: flex;
    align-items: end;
    overflow: hidden;
    border: 0;
    padding: 0;
    color: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}

.location-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.location-card-image,
.location-card-shade {
    position: absolute;
    inset: 0;
}

.location-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.location-card:hover .location-card-image {
    transform: scale(1.04);
}

.location-card-shade {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(13, 39, 54, .05), rgba(13, 39, 54, .82)),
        linear-gradient(90deg, rgba(13, 39, 54, .44), rgba(13, 39, 54, 0));
}

.location-card-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    padding: 22px;
}

.location-card-content > span {
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.location-card h3 {
    margin: 0;
    color: #fff;
}

.location-card p {
    color: rgba(255, 255, 255, .82);
}

.location-card strong {
    width: fit-content;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    padding: 0 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.page-main {
    padding: 48px 0 86px;
}

.page-hero {
    display: grid;
    justify-items: center;
    gap: 14px;
    margin-bottom: 30px;
    text-align: center;
}

.page-hero h1,
.property-hero h1 {
    max-width: 850px;
    margin: 8px 0 0;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 54px;
    line-height: 1.02;
    letter-spacing: 0;
}

.count-pill {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 16px;
    background: #fff;
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.listing-assistant {
    display: grid;
    grid-template-columns: minmax(240px, .45fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    background: linear-gradient(135deg, #fff, var(--ivory));
    box-shadow: var(--shadow-sm);
}

.listing-assistant h2 {
    margin: 7px 0 8px;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.08;
}

.listing-assistant p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.quick-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.1fr) minmax(180px, .9fr) minmax(160px, .75fr) minmax(150px, .72fr);
    gap: 8px;
}

.quick-search-form input,
.quick-search-form select,
.quick-search-form .location-combobox-trigger,
.quick-search-form .btn {
    min-height: 48px;
}

.quick-discovery {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.quick-discovery a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(23, 59, 82, .12);
    border-radius: 999px;
    padding: 0 12px;
    background: #fff;
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 800;
}

.quick-discovery a:hover,
.quick-discovery a.is-active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.seo-copy {
    margin-bottom: 22px;
    background: linear-gradient(135deg, #fff, var(--ivory));
}

.listing-layout {
    display: grid;
    grid-template-columns: 318px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.filters-panel {
    position: sticky;
    top: 112px;
    align-self: start;
    max-height: calc(100vh - 132px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    scrollbar-width: thin;
}

.filters-panel summary {
    display: none;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    padding: 15px 17px;
    cursor: pointer;
    color: var(--brand-night);
    font-weight: 800;
}

.filters {
    display: grid;
    gap: 13px;
    padding: 18px;
}

.filters h2 {
    margin: 0 0 4px;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 25px;
}

.filter-group {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 13px;
}

.filters h2 + .filter-group {
    border-top: 0;
    padding-top: 0;
}

.filter-group-title {
    color: var(--gold);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.field {
    display: grid;
    gap: 7px;
    margin-bottom: 13px;
}

.field.compact {
    margin-bottom: 0;
}

label {
    color: var(--steel);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(23, 59, 82, .16);
    border-radius: var(--radius);
    padding: 10px 12px;
    background: #fff;
    color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(36, 97, 139, .44);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(36, 97, 139, .1);
}

.location-combobox {
    position: relative;
    width: 100%;
    min-width: 0;
}

.location-combobox.is-open {
    z-index: 75;
}

.location-combobox-trigger {
    width: 100%;
    min-height: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 12px;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(23, 59, 82, .16);
    border-radius: var(--radius);
    padding: 9px 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.location-combobox-trigger::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--steel);
    border-bottom: 2px solid var(--steel);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease;
}

.location-combobox.is-open .location-combobox-trigger {
    border-color: rgba(36, 97, 139, .44);
    box-shadow: 0 0 0 4px rgba(36, 97, 139, .1);
}

.location-combobox.is-open .location-combobox-trigger::after {
    transform: translateY(2px) rotate(225deg);
}

.location-combobox-trigger span {
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-combobox-trigger small {
    color: var(--steel);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.location-combobox-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 80;
    min-width: min(360px, calc(100vw - 32px));
    max-height: min(390px, 62vh);
    display: none;
    gap: 9px;
    border: 1px solid rgba(23, 59, 82, .14);
    border-radius: var(--radius);
    padding: 10px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.location-combobox.is-open .location-combobox-menu {
    display: grid;
}

.location-combobox-search {
    min-height: 42px;
    background: var(--paper);
}

.location-options {
    max-height: 270px;
    display: grid;
    gap: 4px;
    overflow-y: auto;
    padding-right: 2px;
    overscroll-behavior: contain;
}

.location-option {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 0;
    border-radius: 7px;
    padding: 10px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
}

.location-option:hover,
.location-option.is-highlighted,
.location-option[aria-selected="true"] {
    background: var(--mist);
}

.location-option span {
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-option small {
    color: var(--steel);
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.location-option[aria-selected="true"] span {
    color: var(--brand);
}

.location-empty {
    margin: 0;
    border: 1px dashed var(--line);
    border-radius: 7px;
    padding: 12px;
    color: var(--muted);
    font-size: 13px;
}

textarea {
    min-height: 104px;
    resize: vertical;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.checks {
    display: grid;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.check {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
}

.check input {
    width: 18px;
    min-height: 18px;
    accent-color: var(--brand);
}

.filter-toggles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.filter-toggle {
    --icon: none;
    position: relative;
    display: block;
    color: var(--brand-deep);
    text-transform: none;
}

.filter-toggle input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    min-height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.filter-toggle span {
    min-height: 48px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
    border: 1px solid rgba(23, 59, 82, .12);
    border-radius: var(--radius);
    padding: 8px 6px;
    background: var(--paper);
    color: var(--brand-deep);
    font-size: 11px;
    font-weight: 850;
    text-align: center;
}

.filter-toggle span::before {
    content: "";
    width: 18px;
    height: 18px;
    background: var(--steel);
    mask: var(--icon) center / contain no-repeat;
    -webkit-mask: var(--icon) center / contain no-repeat;
}

.filter-toggle input:checked + span {
    border-color: rgba(36, 97, 139, .46);
    background: rgba(36, 97, 139, .1);
    color: var(--brand-night);
}

.filter-toggle input:checked + span::before {
    background: var(--brand);
}

.filter-toggle input:focus-visible + span {
    outline: 3px solid rgba(182, 138, 74, .38);
    outline-offset: 2px;
}

.actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    align-items: center;
}

.btn,
.clear,
.link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: var(--radius);
    padding: 0 16px;
    font-size: 13px;
    font-weight: 800;
}

.btn {
    border: 1px solid var(--brand-night);
    background: var(--brand-night);
    color: #fff;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    background: var(--brand-deep);
    box-shadow: var(--shadow-sm);
}

.btn-light {
    border-color: #fff;
    background: #fff;
    color: var(--brand-night);
}

.clear,
.link-button {
    border: 1px solid var(--line);
    background: var(--ivory);
    color: var(--brand-deep);
}

.link-button.whatsapp-button {
    border-color: rgba(37, 211, 102, .3);
    background: rgba(37, 211, 102, .09);
    color: #117a56;
}

.link-button.pdf-button {
    gap: 8px;
    border-color: rgba(182, 138, 74, .34);
    background: rgba(182, 138, 74, .1);
    color: var(--brand-night);
}

.pdf-button::before {
    content: "";
    width: 15px;
    height: 17px;
    flex: 0 0 15px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64v384c0 35.3 28.7 64 64 64h256c35.3 0 64-28.7 64-64V160H256c-35.3 0-64-28.7-64-64V0H64zm160 0v96c0 17.7 14.3 32 32 32h96L224 0zM96 248c0-13.3 10.7-24 24-24h40c39.8 0 72 32.2 72 72s-32.2 72-72 72h-16v40c0 13.3-10.7 24-24 24s-24-10.7-24-24V248zm48 72h16c13.3 0 24-10.7 24-24s-10.7-24-24-24h-16v48zm128-72c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24s-10.7 24-24 24h-24v32h24c13.3 0 24 10.7 24 24s-10.7 24-24 24h-24v56c0 13.3-10.7 24-24 24s-24-10.7-24-24V248z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64v384c0 35.3 28.7 64 64 64h256c35.3 0 64-28.7 64-64V160H256c-35.3 0-64-28.7-64-64V0H64zm160 0v96c0 17.7 14.3 32 32 32h96L224 0zM96 248c0-13.3 10.7-24 24-24h40c39.8 0 72 32.2 72 72s-32.2 72-72 72h-16v40c0 13.3-10.7 24-24 24s-24-10.7-24-24V248zm48 72h16c13.3 0 24-10.7 24-24s-10.7-24-24-24h-16v48zm128-72c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24s-10.7 24-24 24h-24v32h24c13.3 0 24 10.7 24 24s-10.7 24-24 24h-24v56c0 13.3-10.7 24-24 24s-24-10.7-24-24V248z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.whatsapp-button {
    gap: 8px;
}

.whatsapp-button::before {
    content: "";
    width: 16px;
    height: 18px;
    flex: 0 0 16px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32 101.5 32 1.9 131.6 1.9 254c0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1C346.2 476 448 376.4 448 254c0-59.3-25.2-115-67.1-156.9zM223.9 438.7c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3s19.9 53.7 22.6 57.4c2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32 101.5 32 1.9 131.6 1.9 254c0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1C346.2 476 448 376.4 448 254c0-59.3-25.2-115-67.1-156.9zM223.9 438.7c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3s19.9 53.7 22.6 57.4c2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.link-light {
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.filter-chip {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 38px;
    border: 1px solid rgba(36, 97, 139, .14);
    border-radius: 999px;
    padding: 0 11px;
    background: #fff;
    color: var(--steel);
    font-size: 12px;
}

.clear-chip {
    border-color: rgba(166, 75, 63, .2);
    color: var(--danger);
}

.tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.sort {
    width: min(260px, 100%);
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.results-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    border: 1px solid rgba(182, 138, 74, .24);
    border-radius: var(--radius);
    padding: 18px;
    background: var(--ivory);
}

.results-contact h2 {
    margin: 0 0 5px;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 25px;
}

.results-contact p {
    margin: 0;
    color: var(--muted);
}

.pagination-shell {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.pagination-mobile {
    display: none;
}

.pagination-desktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.pagination-button,
.pagination-ellipsis {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(23, 59, 82, .12);
    border-radius: 999px;
    padding: 0 13px;
    background: #fff;
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    box-shadow: var(--shadow-sm);
}

.pagination-button:hover {
    border-color: var(--brand);
    background: rgba(36, 97, 139, .08);
    color: var(--brand-night);
}

.pagination-button.is-current {
    border-color: var(--brand-night);
    background: var(--brand-night);
    color: #fff;
}

.pagination-button.is-disabled,
.pagination-ellipsis {
    opacity: .46;
    pointer-events: none;
    box-shadow: none;
}

.pagination-arrow {
    min-width: 40px;
    padding: 0;
    font-family: var(--serif);
    font-size: 24px;
}

.card {
    overflow: hidden;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
    border-color: rgba(182, 138, 74, .38);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card a {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
}

.media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--mist), var(--ivory));
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.card:hover .media img {
    transform: scale(1.035);
}

.badge,
.reference-badge {
    position: absolute;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 800;
}

.badge {
    left: 12px;
    top: 12px;
    background: #fff;
    color: var(--brand-night);
}

.reference-badge {
    right: 12px;
    bottom: 12px;
    background: rgba(13, 39, 54, .78);
    color: #fff;
    backdrop-filter: blur(8px);
}

.card-body {
    display: grid;
    align-content: start;
    padding: 17px;
}

.card-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--steel);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.card-title {
    margin: 0;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.12;
    letter-spacing: 0;
}

.price {
    margin: 14px 0 12px;
    color: var(--brand-deep);
    font-size: 24px;
    font-weight: 800;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
}

.pill {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(23, 59, 82, .08);
    border-radius: 999px;
    padding: 0 9px;
    background: var(--mist);
    color: var(--brand-deep);
    font-weight: 700;
}

.card-link {
    width: fit-content;
    margin-top: 15px;
    border-bottom: 1px solid rgba(36, 97, 139, .32);
    padding-bottom: 3px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
}

.card:hover .card-link {
    border-color: currentColor;
    color: var(--brand-night);
}

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

.card-stat,
.card-extra {
    --icon: none;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(23, 59, 82, .08);
    border-radius: 999px;
    background: var(--mist);
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 800;
}

.card-stat {
    min-height: 34px;
    padding: 0 10px;
}

.card-stat::before,
.card-extra::before {
    content: "";
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    background: var(--brand);
    mask: var(--icon) center / contain no-repeat;
    -webkit-mask: var(--icon) center / contain no-repeat;
}

.card-stat span,
.card-extra span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-extras {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.card-extra {
    min-height: 30px;
    padding: 0 9px;
    background: #fff;
    color: var(--steel);
    font-size: 11px;
}

.card-extra::before {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
    background: var(--gold);
}

.empty {
    border: 1px dashed rgba(23, 59, 82, .24);
    border-radius: var(--radius);
    padding: 26px;
    background: #fff;
    color: var(--muted);
}

nav[role="navigation"] {
    margin-top: 26px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--steel);
    font-size: 13px;
    font-weight: 700;
}

.breadcrumbs a {
    border-bottom: 1px solid rgba(95, 127, 146, .34);
    padding-bottom: 2px;
}

.detail-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -6px 0 22px;
}

.property-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
    margin-bottom: 24px;
}

.property-price {
    margin: 16px 0 0;
    color: var(--brand-deep);
    font-size: 38px;
    font-weight: 800;
}

.summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.summary .pill {
    background: #fff;
}

.property-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.property-hero-refined {
    grid-template-columns: minmax(0, 1fr) 390px;
    row-gap: 22px;
    align-items: start;
    margin-bottom: 18px;
}

.property-main-heading {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.property-hero-refined .property-gallery {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0;
}

.summary-icons {
    gap: 10px;
    margin-top: 20px;
}

.summary-pill {
    --icon: none;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(23, 59, 82, .1);
    border-radius: 999px;
    padding: 0 12px;
    background: #fff;
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 800;
}

.summary-pill::before {
    content: "";
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    background: var(--brand);
    mask: var(--icon) center / contain no-repeat;
    -webkit-mask: var(--icon) center / contain no-repeat;
}

.icon-location { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.icon-bed { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 18v-7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v7'/%3E%3Cpath d='M2 18h20'/%3E%3Cpath d='M6 8V6a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.icon-bath { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6 6.5 3.5a2.1 2.1 0 0 0-3 0L2 5'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M4 12v5a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-5'/%3E%3Cpath d='M6 20v2'/%3E%3Cpath d='M18 20v2'/%3E%3C/svg%3E"); }
.icon-ruler { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.3 15.3 15.3 21.3a1 1 0 0 1-1.4 0L2.7 10.1a1 1 0 0 1 0-1.4L8.7 2.7a1 1 0 0 1 1.4 0l11.2 11.2a1 1 0 0 1 0 1.4Z'/%3E%3Cpath d='m14.5 5.5-2 2'/%3E%3Cpath d='m17.5 8.5-2 2'/%3E%3Cpath d='m8.5 11.5-2 2'/%3E%3Cpath d='m11.5 14.5-2 2'/%3E%3C/svg%3E"); }
.icon-terrace { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M6 20V8l6-4 6 4v12'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3Cpath d='M8 10h8'/%3E%3C/svg%3E"); }
.icon-pool { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 18c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1 2-1 4-1'/%3E%3Cpath d='M2 22c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1 2-1 4-1'/%3E%3Cpath d='M7 13V5a3 3 0 0 1 6 0'/%3E%3Cpath d='M7 9h6'/%3E%3C/svg%3E"); }
.icon-parking { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M9 17V7h4a3 3 0 0 1 0 6H9'/%3E%3C/svg%3E"); }
.icon-garden { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V8'/%3E%3Cpath d='M5 12c0-4 3-7 7-7 0 4-3 7-7 7Z'/%3E%3Cpath d='M19 12c0-4-3-7-7-7 0 4 3 7 7 7Z'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E"); }

.property-deal-panel {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    position: sticky;
    top: 94px;
    padding: 22px;
    background: linear-gradient(180deg, #fff, var(--ivory));
}

.deal-label {
    color: var(--gold);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.deal-price {
    margin: 6px 0 2px;
    color: var(--brand-night);
    font-size: 36px;
    font-weight: 850;
    line-height: 1;
}

.deal-reference {
    margin: 0 0 16px;
    color: var(--steel);
    font-size: 12px;
    font-weight: 800;
}

.deal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 16px;
}

.whatsapp-link {
    border-color: rgba(31, 143, 95, .24);
    background: rgba(31, 143, 95, .08);
    color: var(--success);
}

.lead-mini-form .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-panel {
    padding: 20px;
    background: #fff;
}

.contact-panel h2 {
    margin: 0 0 8px;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.08;
}

.contact-panel p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.6;
}

.contact-direct {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.contact-direct a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 12px;
    background: var(--ivory);
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 800;
}

.contact-direct a:last-child {
    border-color: rgba(31, 143, 95, .22);
    background: rgba(31, 143, 95, .08);
    color: var(--success);
}

.contact-panel form {
    display: grid;
    gap: 10px;
}

.contact-extra {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.contact-extra summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--brand-deep);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.contact-extra .field {
    padding: 0 12px 12px;
}

.property-gallery {
    min-width: 0;
    max-width: 100%;
    margin-bottom: 36px;
}

.gallery-stage {
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--brand-night);
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-md);
}

.gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.gallery-strip {
    margin-top: 10px;
}

.gallery-strip-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 2px 8px;
    color: var(--steel);
    font-size: 12px;
    font-weight: 850;
}

.gallery-strip-top span:last-child {
    color: var(--brand-deep);
}

.gallery-thumbs-shell {
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.gallery-thumbs-shell::after {
    content: "→";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 8px;
    z-index: 2;
    width: 54px;
    display: grid;
    place-items: center;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: linear-gradient(90deg, rgba(251, 250, 247, 0), var(--paper) 56%);
    color: var(--brand-deep);
    font-size: 22px;
    font-weight: 850;
    pointer-events: none;
}

.gallery-nav,
.gallery-zoom,
.gallery-count {
    position: absolute;
    z-index: 2;
}

.gallery-nav {
    top: 50%;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 50%;
    background: rgba(13, 39, 54, .58);
    color: #fff;
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.gallery-prev {
    left: 14px;
}

.gallery-next {
    right: 14px;
}

.gallery-zoom,
.gallery-count {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(13, 39, 54, .72);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    backdrop-filter: blur(10px);
}

.gallery-zoom {
    right: 14px;
    top: 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    cursor: pointer;
}

.gallery-count {
    left: 14px;
    bottom: 14px;
}

.gallery-thumbs {
    min-width: 0;
    max-width: 100%;
    display: flex;
    gap: 8px;
    margin-top: 0;
    overflow-x: auto;
    padding: 0 56px 8px 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    width: 104px;
    flex: 0 0 104px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 0;
    background: var(--mist);
    cursor: pointer;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
}

.gallery-thumb.is-active {
    border-color: var(--gold);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(5, 18, 26, .94);
}

.lightbox-open {
    overflow: hidden;
}

.gallery-lightbox img {
    max-width: min(1180px, 100%);
    max-height: calc(100vh - 96px);
    border-radius: var(--radius);
    object-fit: contain;
    box-shadow: var(--shadow-lg);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.lightbox-close {
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    font-size: 30px;
}

.lightbox-nav {
    top: 50%;
    width: 54px;
    height: 54px;
    font-size: 38px;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 18px;
}

.lightbox-next {
    right: 18px;
}

.lightbox-count {
    position: absolute;
    bottom: 18px;
    left: 50%;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    transform: translateX(-50%);
}

.gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(280px, .62fr);
    gap: 10px;
    margin-bottom: 34px;
}

.gallery-main,
.gallery-side a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--mist);
}

.gallery-main {
    aspect-ratio: 16 / 10;
}

.gallery-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
}

.property-content-refined {
    grid-template-columns: minmax(0, 1fr);
}

.detail-section {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.detail-section:first-child {
    border-top: 0;
    padding-top: 0;
}

.detail-section h2,
.sidebox h2 {
    margin: 0 0 16px;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.1;
}

.description {
    max-width: 820px;
    color: #334a57;
    font-size: 16px;
    line-height: 1.86;
    white-space: pre-line;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 16px;
}

.section-title-row h2 {
    margin-bottom: 0;
}

.description-section {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.description-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), rgba(36, 97, 139, .38));
}

.detail-accordion-stack {
    display: grid;
    gap: 12px;
    margin: 14px 0 26px;
}

.detail-accordion {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-sm);
}

.detail-accordion summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 16px;
    align-items: center;
    min-height: 82px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}

.detail-accordion summary::-webkit-details-marker {
    display: none;
}

.detail-accordion summary::after {
    content: "";
    width: 12px;
    height: 12px;
    justify-self: center;
    border-right: 2px solid var(--brand-deep);
    border-bottom: 2px solid var(--brand-deep);
    transform: translateY(-3px) rotate(45deg);
    transition: transform .18s ease;
}

.detail-accordion[open] summary::after {
    transform: translateY(3px) rotate(225deg);
}

.detail-accordion-title {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.detail-accordion-title strong {
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 27px;
    line-height: 1.05;
}

.detail-accordion-title small {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-accordion-body {
    border-top: 1px solid var(--line);
    padding: 16px;
    background: linear-gradient(180deg, rgba(238, 243, 244, .4), rgba(255, 255, 255, .92));
}

.detail-accordion .spec {
    min-height: 52px;
    padding: 11px 12px;
    box-shadow: none;
}

.detail-accordion .feature-group {
    min-height: 100%;
    box-shadow: none;
}

.specs,
.features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.features {
    gap: 14px;
}

.specs-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 13px;
    background: linear-gradient(180deg, #fff, rgba(244, 247, 248, .72));
}

.spec span:first-child {
    color: var(--steel);
}

.spec span:last-child {
    text-align: right;
    color: var(--brand-night);
    font-weight: 800;
}

.feature-group {
    border-radius: var(--radius);
    padding: 16px;
    background: #fff;
}

.features-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-group h3 {
    margin: 0 0 10px;
    color: var(--brand-night);
    font-size: 15px;
    font-weight: 800;
}

.feature-group ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    list-style: none;
}

.feature-group li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--brand);
    vertical-align: middle;
}

.detail-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    margin-top: 20px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(182, 138, 74, .16), rgba(182, 138, 74, 0) 42%),
        var(--brand-night);
}

.detail-cta h2 {
    margin: 5px 0 6px;
    color: #fff;
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.08;
}

.detail-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.detail-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: flex-end;
}

.detail-cta .btn {
    border-color: #fff;
    background: #fff;
    color: var(--brand-night);
}

.detail-cta .link-button.whatsapp-button,
.mobile-contact-bar .link-button.whatsapp-button {
    border-color: #25d366;
    background: #25d366;
    color: #fff;
}

.sidebar {
    position: sticky;
    top: 102px;
    display: grid;
    gap: 14px;
}

.sidebox {
    padding: 18px;
    background: #fff;
}

.sidebox h2 {
    font-size: 22px;
}

.sidebox p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.property-discovery {
    position: relative;
    min-width: 0;
    margin-top: 38px;
    border-top: 1px solid var(--line);
    padding-top: 30px;
}

.property-discovery-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.property-discovery-head h2 {
    margin: 6px 0 6px;
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.06;
}

.property-discovery-head p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.property-carousel-controls {
    display: flex;
    gap: 8px;
}

.property-carousel-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--brand-night);
    cursor: pointer;
    font-size: 31px;
    line-height: 1;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.property-carousel-controls button:hover {
    transform: translateY(-1px);
    background: var(--ivory);
    box-shadow: var(--shadow-md);
}

.property-discovery-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.property-discovery-track::-webkit-scrollbar {
    display: none;
}

.nav-property-card {
    flex: 0 0 min(360px, 31.5vw);
    min-width: 280px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
    transition: transform .18s ease, box-shadow .18s ease;
}

.nav-property-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-property-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--mist);
}

.nav-property-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .24s ease;
}

.nav-property-card:hover .nav-property-media img {
    transform: scale(1.03);
}

.nav-property-media > span {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--brand-deep);
    font-weight: 850;
}

.nav-property-body {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 16px;
}

.nav-property-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--steel);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.nav-property-topline span {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 8px;
    background: var(--mist);
}

.nav-property-body strong {
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1.12;
}

.nav-property-body p {
    margin: 0;
    color: var(--brand-deep);
    font-size: 22px;
    font-weight: 850;
}

.nav-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.nav-property-meta span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(23, 59, 82, .08);
    border-radius: 999px;
    padding: 0 9px;
    background: var(--mist);
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 750;
}

.nav-property-link {
    width: fit-content;
    border-bottom: 1px solid rgba(36, 97, 139, .32);
    padding-bottom: 3px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 850;
}

.nav-property-card:hover .nav-property-link {
    border-color: currentColor;
    color: var(--brand-night);
}

.contact-band {
    background:
        linear-gradient(135deg, rgba(13, 39, 54, .98), rgba(23, 59, 82, .94)),
        var(--brand-night);
    color: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(390px, .58fr);
    gap: 48px;
    align-items: start;
}

.contact-intro {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 18px;
}

.contact-intro h2 {
    max-width: 640px;
    margin: 8px 0 0;
    color: #fff;
    font-family: var(--serif);
    font-size: 52px;
    line-height: 1.02;
}

.contact-intro p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 17px;
    line-height: 1.75;
}

.contact-methods {
    display: grid;
    gap: 10px;
    max-width: 560px;
    margin-top: 6px;
}

.contact-methods a,
.contact-methods div {
    min-height: 68px;
    display: grid;
    gap: 4px;
    justify-content: start;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--radius);
    padding: 14px 16px;
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.contact-methods a:hover {
    border-color: rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .11);
}

.contact-methods span,
.contact-form-head span {
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.contact-methods strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.contact-forms-stack {
    display: grid;
    gap: 18px;
}

.contact-form-panel {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    padding: 24px;
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
}

.valuation-panel {
    border-color: rgba(182, 138, 74, .34);
}

.valuation-hero {
    min-height: calc(100vh - 92px);
    display: grid;
    align-items: center;
    padding: 78px 0 86px;
    background:
        linear-gradient(90deg, rgba(8, 24, 34, .95), rgba(18, 50, 69, .82) 52%, rgba(13, 39, 54, .56)),
        linear-gradient(180deg, rgba(13, 39, 54, .16), rgba(13, 39, 54, .78)),
        url("/images/locations/malaga.webp") center/cover;
    color: #fff;
}

.financing-hero {
    background:
        linear-gradient(90deg, rgba(8, 24, 34, .94), rgba(35, 102, 129, .82) 52%, rgba(20, 75, 101, .6)),
        linear-gradient(180deg, rgba(13, 39, 54, .12), rgba(13, 39, 54, .74)),
        url("/images/locations/marbella.webp") center/cover;
}

.valuation-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(420px, .52fr);
    gap: 54px;
    align-items: center;
}

.valuation-copy {
    display: grid;
    gap: 20px;
}

.valuation-copy h1 {
    max-width: 780px;
    margin: 0;
    font-family: var(--serif);
    font-size: 62px;
    line-height: .98;
}

.valuation-copy p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.75;
}

.valuation-highlights {
    display: grid;
    gap: 10px;
    max-width: 620px;
    margin-top: 8px;
}

.valuation-highlights span {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    padding: 12px 14px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .88);
    font-weight: 750;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.valuation-highlights span::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--gold);
}

.valuation-landing-panel {
    padding: 28px;
}

.form-prefill-note {
    margin: -6px 0 16px;
    border: 1px solid rgba(31, 143, 95, .2);
    border-radius: var(--radius);
    padding: 10px 12px;
    background: rgba(31, 143, 95, .08);
    color: var(--success);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

.form-panel-copy {
    margin: -8px 0 18px;
    color: var(--muted);
    line-height: 1.65;
}

.contact-form-head {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.contact-form-head span {
    color: var(--gold);
}

.contact-form-head strong {
    color: var(--brand-night);
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.08;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-form-grid > input[type="hidden"] {
    display: none;
}

.contact-form-grid .field {
    margin-bottom: 0;
}

.contact-form-grid .field-full {
    grid-column: 1 / -1;
}

.contact-form-grid textarea {
    min-height: 122px;
}

.contact-form-grid .btn {
    min-height: 50px;
}

.contact-band .section-head p,
.contact-band label {
    color: var(--steel);
}

.contact-band input,
.contact-band textarea,
.contact-band select {
    border-color: rgba(23, 59, 82, .14);
    background: #fff;
}

.contact-band .btn {
    border-color: var(--brand-night);
    background: var(--brand-night);
    color: #fff;
}

.notice {
    margin-bottom: 16px;
    border: 1px solid rgba(31, 143, 95, .28);
    border-radius: var(--radius);
    padding: 12px 14px;
    background: rgba(31, 143, 95, .08);
    color: var(--success);
}

.site-feedback {
    padding-top: 18px;
}

.notice strong {
    display: block;
    margin-bottom: 6px;
}

.notice ul {
    margin: 0;
    padding-left: 18px;
}

.notice-error {
    border-color: rgba(166, 75, 63, .28);
    background: rgba(166, 75, 63, .08);
    color: var(--danger);
}

.mobile-contact-bar {
    display: none;
}

@media (max-width: 1320px) {
    .site-header-inner {
        gap: 16px;
    }

    .site-brand img {
        width: 148px;
    }

    .site-header-actions {
        min-width: 0;
        flex: 1 1 auto;
        justify-content: flex-end;
        gap: 10px;
    }

    .site-nav a {
        padding: 0 9px;
    }

    .header-contact {
        gap: 6px;
    }

    .header-phone {
        display: none;
    }

    .header-contact-link,
    .header-cta {
        padding: 0 10px;
    }
}

@media (max-width: 1080px) {
    .header-contact,
    .contact-dock {
        display: none;
    }

    .hero-home-grid,
    .grid.three,
    .brand-story-panel,
    .valuation-hero-grid,
    .contact-layout,
    .listing-assistant,
    .listing-layout,
    .property-hero,
    .property-hero-refined,
    .gallery,
    .property-content,
    .property-content-refined,
    .property-stepper {
        grid-template-columns: 1fr;
    }

    .property-hero-refined .property-main-heading,
    .property-hero-refined .property-gallery,
    .property-hero-refined .property-deal-panel {
        grid-column: auto;
        grid-row: auto;
    }

    .property-hero-refined .property-deal-panel {
        position: static;
    }

    .quick-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-search-form .location-combobox,
    .quick-search-form .btn {
        grid-column: 1 / -1;
    }

    .hero-copy {
        padding-bottom: 0;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card,
    .service-card:nth-child(-n+2) {
        grid-column: auto;
    }

    .brand-story-panel {
        grid-template-columns: 1fr;
        grid-template-areas:
            "heading"
            "team"
            "copy";
    }

    .location-grid,
    .location-grid[data-location-count="4"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-intro {
        position: static;
    }

    .listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filters-panel,
    .sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .filters-panel summary {
        display: flex;
    }
}

@media (max-width: 680px) {
    .pagination-shell {
        margin-top: 20px;
    }

    .pagination-desktop {
        display: none;
    }

    .pagination-mobile {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .pagination-mobile .pagination-button {
        width: 100%;
    }
}

@media (max-width: 1440px) {
    .contact-dock {
        display: none;
    }
}

@media (max-width: 820px) {
    body {
        padding-bottom: 72px;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.property-page {
        padding-bottom: 118px;
    }

    .wrap {
        width: min(100% - 28px, 1180px);
    }

    .site-header {
        z-index: 70;
    }

    .site-header-inner {
        min-height: 76px;
        gap: 12px;
    }

    .site-brand img {
        width: 126px;
    }

    .home-page .site-brand img {
        width: 154px;
        max-height: 86px;
    }

    .site-brand span {
        display: none;
    }

    .nav-toggle {
        position: relative;
        z-index: 92;
        width: 48px;
        height: 48px;
        display: inline-grid;
        place-items: center;
        margin-left: auto;
        border-radius: 999px;
        background: rgba(255, 255, 255, .07);
    }

    .nav-open .nav-toggle {
        position: fixed;
        top: 14px;
        right: 14px;
        border-color: rgba(255, 255, 255, .24);
        background: rgba(255, 255, 255, .1);
        box-shadow: 0 18px 44px rgba(3, 16, 24, .22);
    }

    .nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    .site-header-actions {
        display: contents;
        width: auto;
        margin-left: 0;
        gap: 0;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 82;
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        padding: 94px 20px 28px;
        background:
            linear-gradient(180deg, rgba(13, 39, 54, .98), rgba(13, 39, 54, .95) 48%, rgba(9, 29, 42, .98)),
            linear-gradient(135deg, rgba(182, 138, 74, .2), rgba(182, 138, 74, 0) 42%);
        box-shadow: none;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
        visibility: hidden;
    }

    .site-nav[data-open="true"] {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .mobile-menu-head {
        display: grid;
        gap: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        padding: 0 0 18px;
    }

    .mobile-menu-head span {
        color: var(--gold);
        font-size: 11px;
        font-weight: 850;
        text-transform: uppercase;
    }

    .mobile-menu-head strong {
        max-width: 310px;
        color: #fff;
        font-family: var(--serif);
        font-size: 34px;
        font-weight: 700;
        line-height: 1.02;
    }

    .mobile-menu-links {
        display: grid;
        gap: 0;
        counter-reset: menu;
    }

    .mobile-menu-links a,
    .mobile-menu-links a:last-child {
        margin: 0;
        min-height: 62px;
        justify-content: flex-start;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        border-radius: 0;
        padding: 0 2px;
        background: transparent;
        color: #fff;
        font-family: var(--serif);
        font-size: 30px;
        font-weight: 700;
        line-height: 1;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity .24s ease, transform .24s ease, background .18s ease;
    }

    .site-nav[data-open="true"] .mobile-menu-links a {
        opacity: 1;
        transform: translateY(0);
    }

    .site-nav[data-open="true"] .mobile-menu-links a:nth-child(2) {
        transition-delay: .04s;
    }

    .site-nav[data-open="true"] .mobile-menu-links a:nth-child(3) {
        transition-delay: .08s;
    }

    .site-nav[data-open="true"] .mobile-menu-links a:nth-child(4) {
        transition-delay: .12s;
    }

    .site-nav[data-open="true"] .mobile-menu-links a:nth-child(5) {
        transition-delay: .16s;
    }

    .mobile-menu-links a::before {
        counter-increment: menu;
        content: "0" counter(menu);
        width: 34px;
        margin-right: 12px;
        color: var(--gold);
        font-family: var(--sans);
        font-size: 11px;
        font-weight: 850;
        letter-spacing: .04em;
    }

    .mobile-menu-links a::after {
        content: "→";
        margin-left: auto;
        color: rgba(255, 255, 255, .52);
        font-family: var(--sans);
        font-size: 18px;
        font-weight: 700;
    }

    .mobile-menu-links a[aria-current="page"] {
        border-bottom-color: rgba(231, 216, 191, .36);
        color: var(--gold-soft);
    }

    .mobile-menu-contact {
        display: grid;
        gap: 10px;
        margin-top: auto;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 16px;
        padding: 16px;
        background: rgba(255, 255, 255, .075);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    }

    .mobile-menu-contact span {
        color: var(--gold);
        font-size: 11px;
        font-weight: 850;
        text-transform: uppercase;
    }

    .mobile-menu-contact a {
        min-height: 48px;
        justify-content: center;
        font-size: 14px;
    }

    .mobile-menu-contact .btn {
        background: #fff;
        color: var(--brand-night);
    }

    .mobile-menu-contact .link-button {
        border-color: rgba(255, 255, 255, .2);
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }

    .mobile-menu-contact p {
        margin: 4px 0 0;
        color: rgba(255, 255, 255, .72);
        font-size: 13px;
        line-height: 1.45;
    }

    .site-mobile-contact,
    .mobile-contact-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 45;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        border-top: 1px solid var(--line);
        padding: 10px 14px;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -12px 34px rgba(13, 39, 54, .12);
        backdrop-filter: blur(14px);
    }

    .mobile-contact-bar {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 9px 14px 10px;
    }

    .mobile-bar-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-width: 0;
        color: var(--brand-night);
    }

    .mobile-bar-meta strong {
        font-size: 19px;
        line-height: 1;
    }

    .mobile-bar-meta span {
        overflow: hidden;
        color: var(--steel);
        font-size: 11px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-bar-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mobile-bar-actions.has-pdf {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mobile-bar-actions .pdf-button {
        padding-inline: 10px;
    }

    .property-page .site-mobile-contact {
        display: none;
    }

    .hero-home {
        min-height: auto;
        background-position: center top;
    }

    .hero-home-grid {
        gap: 18px;
        padding: 92px 0 34px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .lead {
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .hero-stats div {
        min-height: 58px;
        display: grid;
        justify-items: center;
        gap: 4px;
        padding: 10px 6px;
        text-align: center;
    }

    .hero-stats dt {
        font-size: 23px;
    }

    .hero-stats dd {
        font-size: 8px;
        line-height: 1.2;
    }

    .hero-panel-logo {
        display: none;
    }

    .hero-search {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .mode-tabs,
    .hero-input-row,
    .hero-search .quick-links,
    .hero-search .hero-search-assist {
        grid-column: auto;
        grid-row: auto;
    }

    .hero-search h2 {
        font-size: 29px;
    }

    .valuation-hero {
        min-height: auto;
        padding: 54px 0 72px;
    }

    .valuation-copy h1 {
        font-size: 46px;
    }

    .valuation-copy p {
        font-size: 16px;
    }

    .brand-story {
        padding-top: 56px;
    }

    .brand-story h2 {
        font-size: 31px;
    }

    .commitment-grid,
    .team-preview,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
        display: block;
    }

    .service-card::before {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .38) 96px, #fff 154px, #fff 100%),
            linear-gradient(135deg, rgba(246, 242, 233, .24), rgba(238, 243, 244, .18));
    }

    .service-card-visual {
        position: relative;
        inset: auto;
        width: 100%;
        height: 156px;
        min-height: 0;
    }

    .service-card-visual::before {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .5) 68%, #fff 100%),
            linear-gradient(90deg, rgba(16, 40, 54, .06), rgba(16, 40, 54, 0));
    }

    .service-card-visual::after {
        right: 18px;
        bottom: 18px;
        width: 78px;
        height: 78px;
    }

    .service-card-mark {
        width: 82px;
        height: 82px;
        border-radius: 22px;
    }

    .service-card-mark svg {
        width: 44px;
        height: 44px;
    }

    .service-card-body {
        width: auto;
        margin-top: -18px;
        padding: 0 24px 26px;
    }

    .service-card:nth-child(-n+2) .service-card-body {
        width: auto;
    }

    .team-card {
        grid-template-columns: 118px minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: stretch;
    }

    .team-photo-placeholder {
        min-height: 148px;
        height: 100%;
    }

    .team-photo-placeholder span {
        width: 46px;
        height: 46px;
        font-size: 24px;
    }

    .team-card-body {
        display: grid;
        align-content: center;
        padding: 16px;
    }

    .listing-assistant {
        gap: 14px;
        padding: 16px;
    }

    .listing-assistant > div:first-child {
        display: none;
    }

    .listing-assistant h2 {
        margin-bottom: 0;
        font-size: 26px;
    }

    .listing-assistant p {
        display: none;
    }

    .section-head,
    .footer-top,
    .grid.two,
    .listing-grid,
    .specs,
    .features,
    .split,
    .actions,
    .footer-grid,
    .page-hero,
    .results-contact,
    .stepper-grid {
        grid-template-columns: 1fr;
    }

    .band {
        padding: 54px 0;
    }

    .location-grid,
    .location-grid[data-location-count="4"] {
        grid-template-columns: 1fr;
    }

    .location-grid[data-location-count="4"] .location-card,
    .location-card {
        min-height: 270px;
    }

    .contact-intro h2 {
        font-size: 38px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        align-items: start;
    }

    .footer-top strong {
        font-size: 28px;
    }

    .footer-cta {
        width: fit-content;
    }

    .footer-bottom {
        display: grid;
    }

    .section-head {
        gap: 12px;
    }

    .section-head h2,
    .page-hero h1,
    .property-hero h1 {
        font-size: 34px;
    }

    .quick-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-search-form select[name="operation"] {
        order: 1;
    }

    .quick-search-form select[name="type"] {
        order: 2;
    }

    .quick-search-form .location-combobox,
    .quick-search-form .btn {
        grid-column: 1 / -1;
    }

    .quick-search-form .location-combobox {
        order: 3;
    }

    .quick-search-form .btn {
        order: 4;
    }

    .quick-search-form input[name="reference"] {
        display: none;
    }

    .quick-search-form input,
    .quick-search-form select,
    .quick-search-form .location-combobox-trigger,
    .quick-search-form .btn {
        min-height: 44px;
    }

    .location-combobox-menu {
        position: fixed;
        top: auto;
        right: 14px;
        bottom: 84px;
        left: 14px;
        width: auto;
        min-width: 0;
        max-height: min(520px, calc(100dvh - 126px));
        padding: 12px;
        border-radius: 12px;
    }

    .location-options {
        max-height: min(392px, calc(100dvh - 228px));
    }

    .quick-discovery {
        flex-wrap: nowrap;
        margin: 0 -16px;
        overflow-x: auto;
        padding: 2px 16px 8px;
        scrollbar-width: none;
    }

    .quick-discovery::-webkit-scrollbar {
        display: none;
    }

    .quick-discovery a {
        flex: 0 0 auto;
    }

    .page-main {
        padding: 28px 0 74px;
    }

    .page-hero {
        gap: 12px;
        margin-bottom: 16px;
    }

    .tools {
        display: grid;
        grid-template-columns: 1fr;
    }

    .sort {
        width: 100%;
    }

    .gallery-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-price {
        font-size: 30px;
    }

    .property-actions,
    .property-page .property-deal-panel {
        display: none;
    }

    .summary-icons {
        gap: 7px;
        margin-top: 16px;
    }

    .summary-pill {
        min-height: 36px;
        font-size: 12px;
    }

    .property-gallery {
        margin-bottom: 26px;
    }

    .gallery-stage {
        aspect-ratio: 4 / 3;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .gallery-thumbs {
        display: flex;
        overflow-x: auto;
        margin: 0;
        padding: 0 56px 8px 0;
        scrollbar-width: none;
    }

    .gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .gallery-thumb {
        width: 86px;
        flex: 0 0 86px;
    }

    .section-title-row,
    .detail-cta {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .description-section,
    .detail-cta {
        padding: 18px;
    }

    .detail-accordion-stack {
        margin-top: 10px;
    }

    .detail-accordion summary {
        min-height: 70px;
        padding: 14px;
    }

    .detail-accordion-title strong {
        font-size: 23px;
    }

    .detail-accordion-body {
        padding: 12px;
    }

    .specs-compact,
    .features-compact {
        grid-template-columns: 1fr;
    }

    .detail-cta-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .detail-cta-actions .btn,
    .detail-cta-actions .link-button {
        width: 100%;
    }

    .detail-cta-actions .btn:only-child,
    .detail-cta-actions .link-button:only-child {
        grid-column: 1 / -1;
    }

    .property-discovery {
        margin-top: 30px;
        padding-top: 24px;
    }

    .property-discovery-head {
        display: grid;
        gap: 14px;
        align-items: start;
    }

    .property-discovery-head h2 {
        font-size: 30px;
    }

    .property-carousel-controls {
        justify-content: flex-start;
    }

    .property-discovery-track {
        margin-right: -14px;
        margin-left: -14px;
        padding: 2px 14px 12px;
        scroll-snap-type: none;
    }

    .nav-property-card {
        flex-basis: min(84vw, 330px);
        min-width: 274px;
    }

    .nav-property-body strong {
        font-size: 21px;
    }

    .gallery-lightbox {
        padding: 14px;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 32px;
    }

    .mobile-contact-bar {
        display: grid;
    }
}

@media (max-width: 520px) {
    .hero-home {
        min-height: auto;
        align-items: start;
        background-position: center;
    }

    .hero-home-grid {
        padding-top: 96px;
    }

    .hero-copy {
        display: block;
    }

    .hero-copy .eyebrow {
        font-size: 11px;
    }

    .hero-copy h1 {
        margin-top: 12px;
        font-size: 39px;
        line-height: 1;
    }

    .hero-copy .lead {
        font-size: 15px;
        line-height: 1.62;
    }

    .hero-actions {
        margin-top: 20px;
    }

    .hero-stats {
        display: none;
    }

    .hero-search {
        margin-top: auto;
        padding: 22px;
    }

    .search-help,
    .hero-search-assist {
        display: none;
    }

    .valuation-hero {
        padding: 38px 0 58px;
    }

    .valuation-hero-grid {
        gap: 24px;
    }

    .valuation-copy {
        gap: 14px;
    }

    .valuation-copy h1 {
        font-size: 38px;
        line-height: 1;
    }

    .valuation-highlights {
        gap: 8px;
    }

    .valuation-highlights span {
        min-height: 42px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .valuation-landing-panel {
        padding: 22px;
    }

    .mode-tab {
        font-size: 13px;
    }

    .hero-input-row {
        grid-template-columns: minmax(0, 1fr) 50px;
    }

    .hero-input-row input {
        min-width: 0;
        font-size: 14px;
    }

    .round-submit {
        width: 50px;
        height: 50px;
    }

    .card-title {
        font-size: 22px;
    }
}
