.sales-page {
    --sales-teal: #0c4a4d;
    --sales-gold: #c5a059;
    padding-block-start: 124px;
    color: var(--sales-teal);
}

.sales-container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.sales-listing { margin-block-end: 48px; }
.sales-title {
    margin: 0 0 28px;
    padding: 14px 20px 12px;
    background: #f0efea;
    border-inline-start: 3px solid var(--sales-gold);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-wrap: balance;
}
.sales-empty { padding: 64px 20px; text-align: center; color: #54686a; }
.sales-tiles { display: grid; gap: 12px; }
.sales-tiles-1 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(440px, auto); }
.sales-tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(380px, auto); }
.sales-tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(214px, auto); }
.sales-tiles-3 > :first-child { grid-column: span 2; grid-row: span 2; }
.sales-tile {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    min-width: 0;
    border-radius: 4px;
    background: var(--sales-teal);
    color: white;
    text-align: center;
    text-decoration: none;
    touch-action: manipulation;
}
.sales-tile > .responsive-picture,
.sales-enquiry > .responsive-picture { position: absolute; inset: 0; display: block; pointer-events: none; }
.sales-tile-image { width: 100%; height: 100%; object-fit: cover; object-position: center 66%; transition: transform 260ms cubic-bezier(.23, 1, .32, 1); }
.sales-tile-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(3 29 31 / 16%), rgb(3 29 31 / 45%) 55%, rgb(3 29 31 / 62%)); }
.sales-tile-content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; padding: 28px; }
.sales-tile-location { font-size: 1rem; font-weight: 500; color: #fff4d8; }
.sales-tile-name { font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; text-wrap: balance; }
.sales-tile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    margin-block-start: 10px;
    padding: 10px 18px;
    border: 1px solid rgb(255 255 255 / 65%);
    border-radius: 3px;
    background: rgb(3 29 31 / 24%);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}
.sales-tile-action svg { flex-shrink: 0; }
.sales-tiles-3 > :not(:first-child) .sales-tile-content { gap: 6px; padding: 16px; }
.sales-tiles-3 > :not(:first-child) .sales-tile-name { font-size: 1.75rem; }
.sales-tiles-3 > :not(:first-child) .sales-tile-action { margin-block-start: 4px; font-size: .875rem; }
.sales-tile:focus-visible { outline: 3px solid var(--sales-gold); outline-offset: 5px; }

.sales-enquiry {
    position: relative;
    isolation: isolate;
    padding: 56px 20px;
    margin-block-end: 48px;
    background: #143d40;
    scroll-margin-block-start: 100px;
}
.sales-enquiry-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sales-enquiry::after { content: ''; position: absolute; inset: 0; z-index: 0; background: rgb(6 36 38 / 32%); pointer-events: none; }
.sales-enquiry-card {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    margin-inline: auto;
    padding: 32px 36px;
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 8px;
    background: rgb(5 43 46 / 88%);
    color: white;
}
.sales-form-heading { text-align: center; margin-block-end: 28px; }
.sales-heading-line { display: block; width: 40px; height: 3px; margin: 0 auto 16px; background: var(--sales-gold); }
.sales-form-heading h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.45; text-wrap: balance; }
.sales-form-heading p { margin: 10px 0 0; color: #d4e1df; font-size: 1rem; line-height: 1.6; text-wrap: balance; }
.sales-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px 24px; }
.sales-field { display: block; min-width: 0; margin: 0; padding: 0; border: 0; }
.sales-field > span:first-child,
.sales-field legend { display: block; margin-block-end: 8px; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.sales-field b { color: #f0ce88; font-weight: 500; }
.sales-field small { margin-inline-start: 4px; color: #c6d8d6; font-size: .8125rem; font-weight: 400; }
.sales-field > input,
.sales-field select,
.sales-phone {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    border: 1px solid #dce3df;
    border-radius: 4px;
    background: #fff;
    color: #183b3d;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
}
.sales-field > input,
.sales-field select { padding: 11px 14px; }
.sales-field select { cursor: pointer; text-overflow: ellipsis; }
.sales-phone { display: flex; align-items: stretch; overflow: hidden; }
.sales-phone-code { display: flex; align-items: center; flex-shrink: 0; padding-inline: 14px; background: #f1f4f2; border-inline-end: 1px solid #dce3df; font-weight: 700; }
.sales-phone input { flex: 1; min-width: 0; width: 100%; border: 0; border-radius: 0; padding: 11px 12px; background: white; color: #183b3d; font: inherit; font-size: 16px; line-height: 1.5; }
.sales-phone input::placeholder { color: #6d7e7c; opacity: 1; }
.sales-phone:focus-within { outline: 2px solid #f0ce88; outline-offset: 3px; }
.sales-choices { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.sales-choices label { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 12px; border: 1px solid #cfdbd7; border-radius: 4px; background: #fff; color: #183b3d; cursor: pointer; font-size: .9375rem; line-height: 1.5; }
.sales-choices label:has(:checked) { border-color: #dfbd7b; background: #faf0dc; }
.sales-choices label:has(:focus-visible) { outline: 2px solid #f0ce88; outline-offset: 3px; }
.sales-choices input,
.sales-consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: #0c4a4d; cursor: pointer; }
.sales-field-wide { grid-column: 1 / -1; }
.sales-form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-block-start: 26px; padding-block-start: 22px; border-block-start: 1px solid rgb(255 255 255 / 20%); }
.sales-consent { display: flex; flex: 1; align-items: center; gap: 10px; min-width: min(240px, 100%); }
.sales-consent input { accent-color: #dfbd7b; }
.sales-consent label { display: flex; flex-wrap: wrap; align-items: center; column-gap: 5px; min-height: 44px; cursor: pointer; font-size: .9375rem; line-height: 1.6; }
.sales-consent a { display: inline-flex; align-items: center; min-height: 44px; color: #f1d49c; text-decoration: underline; text-underline-offset: 4px; }
.sales-submit { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-width: 160px; min-height: 50px; padding: 12px 24px; border: 1px solid transparent; border-radius: 4px; background: var(--sales-gold); color: #082e31; font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; touch-action: manipulation; user-select: none; transition: transform 140ms cubic-bezier(.23, 1, .32, 1); }
[dir="rtl"] .sales-submit-arrow { transform: rotate(180deg); }
.sales-submit:active:not(:disabled) { transform: scale(.98); }
.sales-submit:disabled { background: #d3bc8e; cursor: wait; }
.sales-submit:disabled .sales-submit-arrow { visibility: hidden; }
.sales-page :where(input, select, button, .sales-consent a):focus-visible { outline: 2px solid #f0ce88; outline-offset: 3px; }
.sales-page .sales-phone input:focus-visible { outline: 0; }
.sales-form :where(input, select) { scroll-margin-block: 110px; }
.js-form-error { margin-block: 20px 0; padding: 14px 16px; border-inline-start: 3px solid #f0a79c; border-radius: 3px; background: #fff0ed; color: #8b2e24; font-size: 1rem; line-height: 1.6; }
.js-form-error:focus { outline: 2px solid #f0a79c; outline-offset: 3px; }
.js-form-success { padding: 40px 16px; text-align: center; }
.js-form-success svg { display: block; margin: 0 auto 20px; color: #e8c47e; }
.js-form-success h3 { margin: 0 0 12px; font-size: 1.75rem; font-weight: 800; }
.js-form-success p { color: #d4e1df; line-height: 1.7; }
.js-form-success:focus { outline: 2px solid #f0ce88; outline-offset: 6px; }
.sales-enquiry [hidden] { display: none !important; }
.sales-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sales-noscript { margin-block-start: 20px; line-height: 1.7; }

@media (hover: hover) and (pointer: fine) {
    .sales-tile:hover .sales-tile-image { transform: scale(1.025); }
    .sales-tile:hover .sales-tile-action { background: rgb(3 29 31 / 55%); }
    .sales-submit:hover:not(:disabled) { background: #d9b771; }
}

/* Keep the shared contact actions below the footer on smaller sales layouts,
   so they never obscure a field or the submit button. Other pages are unchanged. */
@media (max-width: 1279px) {
    .floating-contact { position: static; flex-direction: row; justify-content: center; padding: 0 20px 24px; background: #0c4a4d; }
}
@media (max-width: 767px) {
    .sales-page { padding-block-start: 100px; }
    .sales-listing { margin-block-end: 32px; }
    .sales-title { margin-block-end: 20px; padding: 12px; }
    .sales-tiles { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(280px, auto); }
    .sales-tiles-3 > :first-child { grid-column: auto; grid-row: auto; }
    .sales-tiles-3 > :not(:first-child) .sales-tile-name { font-size: 2rem; }
    .sales-tile-content { padding: 24px 20px; }
    .sales-tile-name { font-size: 2.25rem; }
    .sales-enquiry { padding: 32px 20px; margin-block-end: 32px; }
    .sales-enquiry-card { padding: 28px 24px; }
}
@media (max-width: 639px) {
    .sales-form-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .sales-enquiry-card { padding: 28px 20px; }
    .sales-choices label { flex-grow: 1; }
    .sales-form-heading { margin-block-end: 24px; }
    .sales-form-footer { gap: 16px; }
    .sales-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .sales-tile-image, .sales-submit { transition: none; }
    .sales-tile:hover .sales-tile-image,
    .sales-submit:active:not(:disabled) { transform: none; }
}
