/*
Theme Name: ITCS Agent Pro Bootstrap
Theme URI: https://www.itcs.co.uk/
Author: ITCS
*/

/* ========================================
   CSS CUSTOM PROPERTIES
======================================== */
:root {
    --red: #c8171e;
    --red-hover: #a81218;
    --red-light: rgba(200, 23, 30, 0.07);
    --red-border: rgba(200, 23, 30, 0.22);
    --black: #0e0e0e;
    --dark: #1c1c1c;
    --charcoal: #3a3a3a;
    --grey: #666;
    --grey-light: #999;
    --border: #e2e2e2;
    --bg-soft: #f6f5f3;
    --bg-header: #f4f3f1;
    --white: #fff;
    --text: #1a1a1a;
    --text-muted: #666;

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 14px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    --shadow: 0 2px 8px rgba(0,0,0,0.07), 0 8px 28px rgba(0,0,0,0.07);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.09), 0 16px 40px rgba(0,0,0,0.1);

    --font-display: "Syne", "Josefin Sans", sans-serif;
    --font-body: "DM Sans", "Roboto", sans-serif;

    --transition: 0.18s ease;
    --transition-slow: 0.32s ease;

    --max-w: 1380px;
}

/* ========================================
   BASE
======================================== */
html { scroll-behavior: smooth; }

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65 !important;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
h1 { font-size: clamp(26px, 4vw, 46px); font-weight: 700; }
h2 { font-size: clamp(20px, 2.8vw, 32px); font-weight: 700; }
h3 { font-size: clamp(17px, 2vw, 24px); font-weight: 600; }
h4 { font-size: clamp(15px, 1.6vw, 19px); font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }

p { font-family: var(--font-body); color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }
p, ul, li { font-family: var(--font-body); }

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-hover); text-decoration: none; }

b, strong { font-weight: 700; font-family: var(--font-body); }

button { font-family: var(--font-display) !important; }

label {
    font-family: var(--font-display) !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 5px;
    display: block;
}

img { width: 100%; height: auto; display: block; }
img.alignright  { float: right; margin: 0 0 1em 1em; }
img.alignleft   { float: left;  margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin: 0 auto; }
.alignright  { float: right; }
.alignleft   { float: left; }
.aligncenter { display: block; margin: 0 auto; }

.row { margin: 0 !important; }
.container-fluid { padding: 0 !important; }
.container {}

.max-w { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.vert-centre { display: flex; flex-direction: column; justify-content: center; }
.shadow { box-shadow: var(--shadow) !important; }

html, body { overflow-x: hidden; }

/* ========================================
   BUTTONS
======================================== */
.btn-temp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    background: var(--red);
    border: 2px solid var(--red);
    border-radius: var(--radius-sm);
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-display) !important;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}
.btn-temp:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200,23,30,0.25);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    background: transparent;
    border: 2px solid var(--red);
    border-radius: var(--radius-sm);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-display) !important;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    background: var(--black);
    border: 2px solid var(--black);
    border-radius: var(--radius-sm);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-display) !important;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-dark:hover {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

/* Legacy CTA block buttons */
.btn-aqua-1, .btn-aqua-2 {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    color: var(--red);
    border: 2px solid var(--white);
    border-radius: var(--radius-sm);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-display) !important;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}
.btn-aqua-1:hover, .btn-aqua-2:hover {
    background: transparent;
    color: var(--white);
}

/* ========================================
   FORM CONTROLS
======================================== */
.form-control {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    height: auto;
}
.form-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-light);
    outline: none;
}
.form-control::placeholder { color: var(--grey-light); }

select.form-control {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
    cursor: pointer;
}

/* ========================================
   HEADER
======================================== */
.menu-bg {
    background-color: var(--white);
    border-bottom: 1.5px solid var(--border);
    padding: 12px 40px !important;
    min-height: 72px;
}

.menu-bg > .row {
    align-items: center;
    width: 100%;
}

.header-logo img {
    width: 160px;
    height: auto;
}

.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding: 8px 0 4px !important;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.social-icons a {
    font-family: var(--font-body);
    color: var(--charcoal);
    font-size: 13px;
    font-weight: 500;
    transition: color var(--transition);
    line-height: 1;
}
.social-icons a:hover {
    color: var(--red);
}

.social-icons .mx-2 {
    color: var(--border);
}

.menu-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
    gap: 24px;
}

nav {
    font-family: var(--font-display);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Mega menu refinements */
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {
    font-family: var(--font-display) !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--charcoal) !important;
    transition: color var(--transition);
}
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link:hover {
    color: var(--red) !important;
}

/* Hamburger colour */
#mega-menu-wrap-header-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner,
#mega-menu-wrap-header-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before,
#mega-menu-wrap-header-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
    background-color: var(--red);
}

/* ========================================
   HERO / LANDING
======================================== */
.landing-section {
    height: 88vh;
    min-height: 520px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.landing-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.55) 100%);
}

.landing-text {
    position: relative;
    z-index: 2;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 88vh;
    min-height: 520px;
    padding: 0 24px;
}

.width-text {
    max-width: 680px;
    text-align: center;
}

.landing-text h1 {
    font-size: clamp(32px, 5.5vw, 66px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    margin-bottom: 14px;
    line-height: 1.1;
}

.landing-text h3 {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
    font-family: var(--font-body);
}

/* ========================================
   HOME SEARCH BAR
======================================== */
.home-search {
    background: var(--white);
    border-bottom: 1.5px solid var(--border);
    padding: 20px 40px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    position: relative;
    z-index: 10;
}

.home-search-form {
    max-width: var(--max-w);
    margin: 0 auto;
}

.home-s-box {
    padding: 0 8px !important;
}

/* Radio buttons */
.home-s-box input[type="radio"] {
    accent-color: var(--red);
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin-right: 6px;
    vertical-align: middle;
}

.home-s-box label {
    display: inline;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    color: var(--charcoal);
    vertical-align: middle;
}

/* Search submit button */
#search-form-tool-submit {
    width: 52px !important;
    height: 44px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm) !important;
    margin-top: 24px;
}

/* ========================================
   FEATURED PROPERTIES
======================================== */
.featuredproprow {
    padding: 8px 0 24px;
}

.contsearchgrid {
    padding: 10px;
}

.featured-properties-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-slow), transform var(--transition-slow), border-color var(--transition);
}

.featured-properties-image:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--red-border);
}

a.featured-prop-link {
    color: var(--text);
    display: block;
}

a.featured-prop-link:hover {
    color: var(--text);
    text-decoration: none;
}

.featured-img {
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
}

.featured-img img {
    height: 240px;
    object-fit: cover;
    transition: transform 0.42s ease;
    border-radius: 0;
}

.featured-properties-image:hover .featured-img img {
    transform: scale(1.04);
}

.featured-properties-details {
    padding: 16px 18px 18px;
}

.featured-card {
    /* wrapper */
}

p.featured-card-add {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    font-family: var(--font-display);
    line-height: 1.4;
}

p.featured-card-detail {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Price tag — redesigned from absolute red block */
.featured-card-price {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    letter-spacing: -0.01em;
    /* Remove old absolute positioning */
    position: static;
    width: auto;
    text-align: left;
    margin-top: 10px;
}

.fcardp { display: flex; justify-content: flex-end; align-items: center; }
.fpc { padding: 0; }

/* ========================================
   ABOUT US SECTION
======================================== */
.about-us-section {
    /* Bootstrap row/col handles layout */
}

.about-img-col {
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.about-col {
    padding: 72px 56px;
    background: var(--bg-soft);
}

.about-col h2,
.about-title {
    border-bottom: 2px solid var(--border);
    padding-bottom: 18px;
    margin-bottom: 20px;
    color: var(--text);
    text-transform: none;
    letter-spacing: -0.025em;
}

.about-col p { color: var(--text-muted); line-height: 1.8; }

/* ========================================
   TRUST SIGNALS
======================================== */
.trust-signal-section {
    padding: 48px 24px;
    border-top: 1.5px solid var(--border);
}

.trust-signal-section img {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.65;
    filter: grayscale(0.3);
    transition: opacity var(--transition);
}

.trust-signal-section img:hover { opacity: 0.85; }

/* ========================================
   TESTIMONIALS (plugin-rendered)
======================================== */
.home-testimonials {
    padding: 0 0 16px;
}

.wpmtst-testimonial-inner.testimonial-inner {
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 24px !important;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.wpmtst-testimonial-inner.testimonial-inner:hover {
    box-shadow: var(--shadow) !important;
    border-color: var(--red-border) !important;
}

/* ========================================
   FOOTER
======================================== */
.the-footer {
    background: var(--black);
    color: var(--white);
    padding: 56px 40px 40px !important;
    line-height: normal;
}

.footer-logo {
    padding: 0 40px 0 0;
}

.footer-logo img {
    width: 140px;
    height: auto;
    margin-bottom: 10px;
}

.footer-logo h5 {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.the-footer a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: color var(--transition);
}
.the-footer a:hover { color: var(--red); }

.the-footer .widget-title,
.the-footer h3, .the-footer h4 {
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-family: var(--font-display);
}

.the-footer .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.the-footer .widget ul li {
    padding: 3px 0;
}

.info {
    font-size: 14px;
    padding: 0 20px;
}

.bottom-footer {
    background: #080808;
    color: rgba(255,255,255,0.38);
    padding: 14px 40px !important;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bottom-footer p { margin-bottom: 0; color: rgba(255,255,255,0.38); }
.bottom-footer a { color: var(--red); }
.bottom-footer a:hover { color: var(--red-hover); }

/* Footer social */
.the-footer .fab.fa-facebook,
.the-footer .fab.fa-linkedin {
    font-size: 20px;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition), transform var(--transition);
}
.the-footer .fab.fa-facebook:hover,
.the-footer .fab.fa-linkedin:hover {
    color: var(--red);
    transform: translateY(-2px);
}

/* ========================================
   INTERNAL PAGES
======================================== */
.internal-page {
    padding: 32px 24px 16px !important;
}

.internal-page h1 {
    border-bottom: 3px solid var(--red);
    padding-bottom: 14px;
    color: var(--text);
    text-transform: none;
    letter-spacing: -0.025em;
}

section.image-block {
    padding: 40px 24px;
}

.block-img-cols {
    padding: 12px;
}

.block-img-cols img {
    border-radius: var(--radius);
    object-fit: cover;
}

/* Contact page */
.cont-cols {
    padding: 32px 40px;
}

.cont-cols h2 {
    padding-bottom: 10px;
    border-bottom: 3px solid var(--red);
    margin-bottom: 20px;
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text);
}

.cont-cols a { color: var(--charcoal); }
.cont-cols a:hover { color: var(--red); }
.cont-cols h4 { margin-bottom: 10px; }

/* ========================================
   PROPERTY SEARCH (agentpro-search)
======================================== */
.search-page-hero {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ========================================
   PROPERTY CARDS (search results)
======================================== */
/* Inherits featured-properties-image styles */

/* ========================================
   PROPERTY DETAIL
======================================== */
h1.property-title {
    font-size: clamp(22px, 3vw, 36px);
    letter-spacing: -0.025em;
    color: var(--text);
}

/* property-price consolidated below */

.property-slider-col {
    padding: 0 0 20px;
}

.swiper-container {
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: var(--radius);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.property-details-col ul {
    column-count: 2;
    font-family: var(--font-display);
    font-weight: 600;
    column-gap: 0;
    padding: 12px 16px;
    font-size: 14px;
}

.property-details-col li {
    padding: 4px 0;
    line-height: 1.5;
}

.row-btm-border {
    border-bottom: 3px solid var(--red);
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    padding: 5px;
}

.req-viewing-box {
    padding: 20px;
    margin-top: 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card-header.prop-collapse {
    background: 0;
    border: 0;
    border-bottom: 3px solid var(--red);
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 18px 10px 14px;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.property-details-col .card {
    border: 0;
    border-bottom: 1.5px solid var(--border);
}

.property-details-col .card:last-child {
    border-bottom: 0;
}

.room-type {
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-display);
    color: var(--text);
    padding: 10px 0 4px;
    border-top: 1.5px solid var(--border);
    margin-top: 6px;
}

.room-in-m {
    font-weight: 600;
    font-size: 13px;
    color: var(--red);
}

a.prop-docs { font-weight: 600; color: var(--charcoal); }
a.prop-docs:hover { color: var(--red); }

.property-details-col .card-body {
    padding: 12px 16px;
}

/* Badges */
.badges-row i { color: var(--red); margin-right: 4px; }

/* ========================================
   CARDS BLOCK (service cards)
======================================== */
.cards-block {
    padding: 56px 0;
}

.cards-block .col-12 {
    padding: 10px;
}

.service-card {
    padding: 28px 24px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    height: 100%;
    transition: box-shadow var(--transition-slow), transform var(--transition-slow), border-color var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: var(--red-border);
}

.service-card h5 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    font-size: 16px;
}

.service-card hr {
    border: none;
    border-top: 2px solid var(--border);
    margin: 0 0 14px;
}

.service-card p { color: var(--text-muted); font-size: 14px; }

.service-card-img img {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 14px;
}

/* ========================================
   CTA BLOCK
======================================== */
.cta-block {
    min-height: 260px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}

.cta-overlay {
    background: rgba(0,0,0,0.52);
    padding: 48px 24px;
    width: 100%;
    text-align: center;
}

.cta-overlay h2 {
    color: var(--white);
    text-transform: none;
    margin-bottom: 20px;
}

.cta-overlay-2 {
    padding: 48px 24px;
    width: 100%;
    text-align: center;
}

.cta-overlay-2 h2 {
    color: var(--white);
    text-transform: none;
    margin-bottom: 20px;
}

/* ========================================
   ENQUIRY FORM BLOCK
======================================== */
.enquiry-form-block {
    padding: 64px 0;
}

.cont-map-col h2 { color: var(--red) !important; }

.form-shortcode { width: 100%; }

/* WPCF7 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    margin-bottom: 10px;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-light);
    outline: none;
}

.wpcf7 textarea { min-height: 110px; resize: vertical; }

.wpcf7 input[type="submit"] {
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    font-family: var(--font-display) !important;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.wpcf7 input[type="submit"]:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    transform: translateY(-1px);
}

.wpcf7-spinner { display: none !important; }

/* ========================================
   NO RESULTS
======================================== */
.no-cont-msg {
    min-height: 55vh;
    padding: 80px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-cont-msg h2 {
    color: var(--grey);
    font-size: 20px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

/* ========================================
   PAGINATION
======================================== */
.pagination .page-item .page-link {
    color: var(--red);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    margin: 0 3px;
    font-weight: 600;
    font-size: 14px;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ========================================
   COOKIE BANNER
======================================== */
#cookiePopup {
    background: #1a1a1a;
    position: fixed;
    font-size: 14px;
    width: 340px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.22);
    font-family: var(--font-body);
    line-height: 1.7;
    padding: 24px 22px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
    transition: opacity 0.4s ease;
    z-index: 9999;
    color: var(--white);
    display: none;
    bottom: 24px;
    right: 24px;
}

#cookiePopup img {
    display: block;
    width: 36px;
    margin: 0 auto 14px;
}

#cookiePopup p {
    text-align: center;
    margin: 0 0 18px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.cookie-actions {
    display: flex;
    gap: 8px;
}

#cookiePopup button {
    flex: 1;
    border: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

#acceptCookies { background: var(--red); color: var(--white); }
#declineCookies { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); }

#cookiePopup a { color: var(--white); font-weight: 600; text-decoration: underline; }

.hide { visibility: hidden; opacity: 0; }
.show { visibility: visible; opacity: 1; }

/* ========================================
   PROPERTY GALLERY / SLIDER
======================================== */
.property-slider-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 5px 0;
}

.main-slider { width: 66%; }

.thumbnail-slider {
    width: 32%;
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.thumbnail-slider .swiper-slide {
    height: calc(50% - 4px);
    cursor: pointer;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.property-slider-wrapper img {
    padding: 0 4px;
}

/* ========================================
   RESPONSIVENESS
======================================== */

/* Large desktop */
@media (min-width: 1600px) {}
@media (min-width: 1450px) {}

/* Mid desktop */
@media (min-width: 993px) and (max-width: 1450px) {
    .featured-card-price { font-size: 14px; padding: 5px 12px; }
    .menu-bg { padding: 0 24px !important; }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 992px) {
    .menu-bg { padding: 0 16px !important; }
    .header-logo img { width: 130px; }

    .social-icons { justify-content: center; padding: 16px !important; }
    .header-logo.vert-centre { text-align: center !important; }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link { padding: 0 12px; }

    .landing-section, .landing-text { height: 72vh; min-height: 440px; }

    .home-search { padding: 16px 20px !important; }
    .home-s-box { padding: 0 6px !important; margin-bottom: 8px; }
    #search-form-tool-submit { margin-top: 20px; }

    /* about stacks via Bootstrap */
    .about-img-col { min-height: 320px; }
    .about-col { padding: 48px 36px; }

    .footer-logo { padding: 0 20px 24px 0; }
    .info { padding: 0 12px 16px; }

    .featured-card-price { font-size: 14px; padding: 5px 10px; }

    .cont-cols { padding: 20px 16px; }
    .the-footer { padding: 40px 20px 32px !important; }

    .strong-content.strong-grid.columns-3 .wpmtst-testimonial { width: 100% !important; }

    .thumbnail-slider { display: none; }
    .main-slider { width: 100%; }
}

/* Mobile */
@media (max-width: 767px) {
    .menu-bg { padding: 12px 16px !important; min-height: auto; }
    .header-logo { text-align: center; }
    .header-logo img { width: 120px; height: auto; }

    .social-icons {
        flex-direction: row;
        justify-content: center;
        padding: 10px 0 !important;
        gap: 16px;
    }

    nav.navbar { padding: 0 !important; }
    nav { padding-top: 0 !important; }

    nav.navbar.navbar-expand-md {
        position: absolute;
        z-index: 9999;
    }

    .menu-bar {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .landing-section, .landing-text { height: 72vh; min-height: 400px; }

    .width-text { max-width: 92%; }
    .landing-text h1 { font-size: 28px; }
    .landing-text h3 { font-size: 16px; }

    .home-search { padding: 16px !important; }
    .home-s-box { margin-bottom: 10px; padding: 0 4px !important; }

    /* about-us-section stacks via Bootstrap col-12 */
    .about-img-col { min-height: 260px; }
    .about-col { padding: 32px 20px; }

    .footer-logo { padding: 0 0 20px; }
    .info { padding: 0 0 16px; }

    .the-footer { padding: 36px 20px 28px !important; }
    .bottom-footer {
        padding: 12px 16px !important;
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

    .featured-img img { height: 210px; }

    .featured-card-price {
        font-size: 13px;
        padding: 5px 10px;
        position: static;
        width: auto;
        margin-top: 8px;
    }

    .fcardp { justify-content: flex-start; }

    .cont-cols { padding: 20px 16px; }

    .property-details-col { padding: 16px; }
    .prop-titles { padding: 0; }
    .property-details-col ul { column-gap: 10px; }
    h1.property-title { font-size: 22px; }
    h2.property-price { font-size: 20px; }

    .block-img-cols.order-md-1 { padding-top: 12px; }

    a.phone { position: absolute; display: contents; z-index: 9999; }

    .thumbnail-slider { display: none; }
    .main-slider { width: 100%; }

    .swiper-container { height: 280px; }

    .cards-block { padding: 32px 0; }
    .service-card { padding: 20px 16px; }

    .enquiry-form-block { padding: 40px 0; }

    #cookiePopup {
        width: calc(100% - 28px);
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .trust-signal-section { padding: 32px 16px; }
}

/* Small mobile */
@media (max-width: 480px) {
    .landing-text h1 { font-size: 24px; }
    .landing-text h3 { font-size: 15px; }
    .landing-text { height: 68vh; }
    h2 { font-size: 18px; }
    .btn-temp { padding: 9px 18px; font-size: 13px; }
    .about-img-col { min-height: 220px; }
    .swiper-container { height: 240px; }
}

/* ========================================
   404 PAGE
======================================== */
.page-404-wrap {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}

.page-404-inner { text-align: center; }

.page-404-code {
    font-family: var(--font-display);
    font-size: clamp(80px, 14vw, 140px);
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    letter-spacing: -0.06em;
    margin-bottom: 12px;
}

.page-404-title {
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: -0.02em;
}

.page-404-msg {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   ABOUT TITLE (home page)
======================================== */
.about-title {
    border-bottom: 2px solid var(--border);
    padding-bottom: 18px;
    margin-bottom: 20px;
    color: var(--text);
}

/* ========================================
   ENQUIRY FORM TITLE
======================================== */
.enquiry-form-title {
    color: var(--red) !important;
    margin-bottom: 16px;
}

/* ========================================
   PROPERTY DOC LINKS
======================================== */
.prop-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-weight: 600;
    font-size: 14px;
    padding: 9px 16px;
    border: 1.5px solid var(--red-border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    transition: background var(--transition), color var(--transition);
}

.prop-doc-link:hover {
    background: var(--red-light);
    color: var(--red-hover);
}

.prop-doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prop-empty-msg {
    color: var(--grey);
    font-size: 14px;
    padding: 16px 0;
}

/* ========================================
   FLOORPLAN
======================================== */
.floorplan-item {
    margin-bottom: 20px;
}

.floorplan-item img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
}

/* ========================================
   SEARCH LOADER / RESULTS
======================================== */
.search-loader {
    display: none;
    text-align: center;
    padding: 48px 0;
    color: var(--red);
    font-size: 40px;
}

.search-results-container { display: none; }

/* ========================================
   PROPERTY SLIDER (from inline styles — migrated)
======================================== */
/* swiper styles consolidated below */

/* slider wrapper consolidated below */

/* Mobile slider */
@media (max-width: 768px) {
    .property-slider-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .main-slider {
        width: 100%;
        height: auto;
    }

    .thumbnail-slider { display: none; }

    .mobile-thumbnail-slider {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 10px;
    }

    .mobile-thumbnail-slider .swiper-slide {
        width: 50%;
        height: auto;
    }

    .mobile-thumbnail-slider img {
        width: 100%;
        height: auto;
    }

    .swiper-container.mobile-thumbnail-slider {
        height: 130px;
    }

    .swiper-container { height: 280px; }
}

@media (min-width: 769px) {
    .mobile-thumbnail-slider { display: none; }
}

/* Swiper nav colours */
.swiper-button-next,
.swiper-button-prev { color: var(--red); }

/* ========================================
   SEARCH RESULTS PAGE (agentpro-search)
======================================== */
.search-page {
    padding: 24px 0;
}

.search-results-bar {
    padding: 14px 10px 4px;
    border-bottom: 1.5px solid var(--border);
    margin-bottom: 4px;
}

.search-results-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.01em;
}

/* ========================================
   HOME SEARCH - search bar radio label fix
======================================== */
.home-search .col-6 label,
.home-s-box .col-6 label,
.home-s-box .col-12 label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    color: var(--charcoal);
    margin-bottom: 0;
    display: inline;
}

.home-s-box label {
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

/* ========================================
   ABOUT US - image col bg fix
======================================== */
.about-img-col {
    min-height: 480px;
}

.about-img-col > div {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

/* ========================================
   FOOTER - column layout fix
======================================== */
.the-footer .row {
    align-items: flex-start;
}

/* removed old col-lg auto overrides */

/* ========================================
   HOME SEARCH FORM - submit button
======================================== */
.home-s-box.vert-centre {
    padding: 0 8px !important;
}

/* ========================================
   GOOGLE MAP EMBED
======================================== */
.google-map-embed {
    width: 100%;
    height: 420px;
}

@media (max-width: 767px) {
    .google-map-embed { height: 280px; }
}

/* ========================================
   SEARCH PAGE SUBMIT BUTTON SIZE
======================================== */
#search-form-tool-submit.btn-temp {
    width: 100%;
    height: 44px;
    padding: 0 16px !important;
    justify-content: center;
}

@media (min-width: 993px) {
    #search-form-tool-submit.btn-temp {
        width: 52px;
        height: 44px;
        padding: 0 !important;
    }
}

/* ========================================
   PROPERTY STATUS BADGE (overlay on card img)
======================================== */
.prop-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--red);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    z-index: 2;
    font-family: var(--font-display);
}

.prop-status-badge--bottom {
    top: auto;
    bottom: 12px;
}

/* ========================================
   PROP TAG (inline status pill in card)
======================================== */
.prop-tag {
    display: inline-block;
    background: rgba(200,23,30,0.09);
    color: var(--red);
    border: 1.5px solid var(--red-border);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    margin-top: 6px;
    margin-right: 4px;
    font-family: var(--font-display);
}

/* ========================================
   FEATURED CARD REDESIGN
   Clean layout — address / detail / price
======================================== */
.featured-properties-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-slow), transform var(--transition-slow), border-color var(--transition);
}

.featured-properties-image:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--red-border);
}

.featured-img {
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
}

.featured-img img {
    height: 230px;
    object-fit: cover;
    width: 100%;
    display: block;
    transition: transform 0.42s ease;
    border-radius: 0;
}

.featured-properties-image:hover .featured-img img {
    transform: scale(1.04);
}

.featured-properties-details {
    padding: 16px 18px 20px;
}

p.featured-card-add {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
}

p.featured-card-detail {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.featured-card-price {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display) !important;
    font-weight: 700;
    font-size: 14px;
    padding: 5px 14px;
    border-radius: var(--radius-sm);
    letter-spacing: -0.01em;
    /* Remove all legacy absolute positioning */
    position: static;
    width: auto;
    text-align: left;
}

/* ========================================
   BLOCK TEMPLATES
======================================== */

/* Intro block */
.intro-block {
    padding: 48px 24px 32px;
}

.intro-image {
    margin-bottom: 24px;
}

.intro-image img {
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 0 auto;
}

.intro-text {
    padding: 0 24px;
}

/* Basic text block */
.basic-text-block {
    padding: 32px 24px;
}

.basic-text-block p { color: var(--text-muted); }
.basic-text-block h2, .basic-text-block h3 { margin-bottom: 14px; }

/* Image block */
.image-block { padding: 48px 0; }

.block-img-cols { padding: 16px; }

.block-img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    max-height: 440px;
    display: block;
}

.block-text-col {
    padding: 24px 40px;
}

.block-text-col p { color: var(--text-muted); line-height: 1.8; }
.block-text-col p:last-child { margin-bottom: 0; }

/* Gallery block */
.gallery-block { padding: 48px 0; }
.gallery-title { text-align: center; margin-bottom: 28px; }
.gallery-row { margin-top: 0 !important; }
.gallery-row + .gallery-row { margin-top: 8px !important; }
.gallery-col { padding: 5px; }

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-sm);
    height: 200px;
    background: var(--bg-soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

/* Enquiry form */
.enquiry-form-block { padding: 64px 0; }
.enquiry-text-col { padding: 0 48px 0 24px; }
.enquiry-form-col { padding: 0 24px; }

/* ========================================
   INTERNAL PAGE
======================================== */
.internal-page {
    padding: 32px 24px 12px !important;
}

.internal-page h1 {
    border-bottom: 3px solid var(--red);
    padding-bottom: 14px;
    color: var(--text);
    text-transform: none;
    font-size: clamp(22px, 3vw, 36px);
    letter-spacing: -0.025em;
}

/* ========================================
   SEARCH PAGE — results count bar
======================================== */
.search-results-bar {
    padding: 14px 10px 4px;
    border-bottom: 1.5px solid var(--border);
    margin-bottom: 4px;
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
}

.search-results-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
}

/* ========================================
   RESPONSIVE — block templates, cards
======================================== */
@media (max-width: 767px) {
    .block-text-col { padding: 20px 16px; }
    .block-img-cols { padding: 10px 16px; }
    .block-img { max-height: 280px; }
    .image-block { padding: 32px 0; }
    .gallery-block { padding: 32px 0; }
    .gallery-item { height: 160px; }
    .enquiry-form-block { padding: 40px 0; }
    .enquiry-text-col { padding: 0 16px 24px; }
    .enquiry-form-col { padding: 0 16px; }
    .intro-block { padding: 32px 16px 20px; }
    .intro-text { padding: 0; }
    .basic-text-block { padding: 24px 16px; }
    .featured-img img { height: 200px; }
}

@media (min-width: 768px) and (max-width: 992px) {
    .block-text-col { padding: 24px 28px; }
    .enquiry-text-col { padding: 0 28px 24px; }
    .enquiry-form-col { padding: 0 28px; }
}

/* ========================================
   FIXES PASS — HOME PAGE & GLOBAL
======================================== */

/* Section title — override global red uppercase h2 for content headings */
.section-title,
.featured-section h2,
.container-fluid.max-w > .row > .col-12 > h2.text-center {
    color: var(--text);
    text-transform: none;
    letter-spacing: -0.025em;
    font-size: clamp(22px, 2.5vw, 30px);
}

/* Testimonials heading — same */
.container-fluid.max-w h2.text-center {
    color: var(--text);
    text-transform: none;
    letter-spacing: -0.025em;
}

/* Featured section padding */
.featured-section {
    padding-top: 0;
}

.featured-section .row:first-child {
    padding-top: 36px;
}

/* ========================================
   ABOUT SECTION — Bootstrap col layout
======================================== */
.about-us-section .row {
    align-items: stretch !important;
    min-height: 480px;
}

.about-img-col {
    min-height: 480px !important;
    background-color: var(--bg-soft);
}

.about-img-col > div {
    min-height: 480px !important;
    width: 100%;
    height: 100%;
}

/* ========================================
   HEADER — contact bar + nav alignment
======================================== */
.menu-bg .row {
    align-items: center !important;
}

/* Contact info bar */
.social-icons .email,
.social-icons .phone {
    font-size: 13px;
    font-weight: 500;
    color: var(--charcoal);
}

/* Nav alignment */
.menu-bar {
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
}

.menu-bar nav { width: 100%; }

/* ========================================
   HOME SEARCH — improved form layout
======================================== */
.home-search .row {
    align-items: flex-end;
}

.home-s-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Radio group alignment */
.home-s-box.vert-centre > .row {
    align-items: center;
    padding-top: 24px; /* align with field labels */
}

/* ========================================
   FOOTER — fix col-lg auto columns
======================================== */
/* removed old col-lg auto overrides */

/* Bottom footer — fix row layout */
.bottom-footer .row {
    align-items: center !important;
}

/* ========================================
   RESPONSIVE FIXES
======================================== */

/* Tablet */
@media (min-width: 768px) and (max-width: 992px) {
    .the-footer .col-12.col-md-6.col-lg.footer-logo,
    .the-footer .col-12.col-md-6.col-lg.info,
    .the-footer .col-12.col-md-6.col-lg:last-child {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .social-icons {
        justify-content: center !important;
    }

    .menu-bg {
        padding: 10px 20px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .the-footer .col-12.col-md-6.col-lg.footer-logo,
    .the-footer .col-12.col-md-6.col-lg.info,
    .the-footer .col-12.col-md-6.col-lg:last-child {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .social-icons {
        justify-content: center !important;
        gap: 12px;
    }

    .about-us-section .row {
        min-height: auto !important;
    }

    .about-img-col,
    .about-img-col > div {
        min-height: 260px !important;
    }

    .featured-section .row:first-child {
        padding-top: 24px;
    }

    .home-search .row {
        align-items: flex-start;
    }

    .home-s-box.vert-centre > .row {
        padding-top: 8px;
    }
}

/* ========================================
   DESIGN UPGRADE — PAGE HERO, CONTACT,
   PROPERTY, HOME SECTIONS
======================================== */

/* -----------------------------------------------
   PAGE HERO BANNER
----------------------------------------------- */
.page-hero {
    background: var(--black);
    position: relative;
    overflow: hidden;
    padding: 80px 40px 64px;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(200,23,30,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 100% 50%, rgba(200,23,30,0.06) 0%, transparent 60%);
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
}

.page-hero-label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-hero-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--red);
    flex-shrink: 0;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 54px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
    text-transform: none;
}

.page-hero-line {
    width: 48px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.page-content {
    /* wrapper for all block content */
}

/* -----------------------------------------------
   SECTION EYEBROW + HEADER
----------------------------------------------- */
.section-header {
    padding: 52px 0 4px;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 700;
    color: var(--text);
    text-transform: none;
    letter-spacing: -0.025em;
    margin-bottom: 0;
}

/* -----------------------------------------------
   VIEW ALL BUTTON (home — featured properties)
----------------------------------------------- */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--charcoal);
    border-bottom: 2px solid var(--border);
    padding-bottom: 3px;
    transition: color var(--transition), border-color var(--transition);
    text-decoration: none;
}

.btn-view-all:hover {
    color: var(--red);
    border-color: var(--red);
    text-decoration: none;
}

/* -----------------------------------------------
   FEATURED PROPERTIES ROW
----------------------------------------------- */
.featured-properties-row {
    /* column wrapper — contsearchgrid handles padding */
}

/* -----------------------------------------------
   SEARCH INPUT
----------------------------------------------- */
.search-text-field,
.br4 {
    border-radius: var(--radius-sm) !important;
}

/* -----------------------------------------------
   CONTACT PAGE
----------------------------------------------- */
.contact-map-wrap {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: var(--bg-soft);
}

.contact-map-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.contact-content-section {
    background: var(--white);
    padding: 0;
}

.contact-content-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
}

/* Info cards row */
.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-bottom: 1.5px solid var(--border);
    margin-bottom: 0;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 24px;
    border-right: 1.5px solid var(--border);
    transition: background var(--transition);
}

.contact-info-card:last-child {
    border-right: none;
}

.contact-info-card:hover {
    background: var(--bg-soft);
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background: var(--red-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info-label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-light);
    display: block;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 14px;
    color: var(--charcoal);
    margin: 0;
    line-height: 1.6;
}

.contact-info-text a:hover { color: var(--red); }

/* Enquiry form section */
.contact-form-section {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    padding: 56px 0 72px;
    align-items: start;
}

.contact-form-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--text);
    text-transform: none;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}

.contact-form-sub {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.contact-form-body {
    /* holds the CF7 form */
}

/* -----------------------------------------------
   PROPERTY PAGE — full layout redesign
----------------------------------------------- */
.property-page-wrap {
    background: var(--white);
    padding: 0;
}

.property-page-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px 80px;
}

.property-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    padding-top: 40px;
    align-items: start;
}

/* Main content column */
.property-main-col {
    min-width: 0; /* prevent grid blowout */
}

/* Property header */
.property-header {
    border-bottom: 1.5px solid var(--border);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.property-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

h1.property-title {
    font-size: clamp(20px, 2.8vw, 32px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 0;
    flex: 1;
    text-transform: none;
}

.property-price-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.property-price-status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    font-family: var(--font-display);
}

h2.property-price {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800;
    color: var(--red);
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1;
    text-transform: none;
}

/* Quick stats pills */
.property-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.property-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    font-family: var(--font-display);
}

.property-stat i {
    color: var(--red);
    font-size: 12px;
}

/* Section titles inside property */
.property-section-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Features block */
.property-features-block {
    margin-bottom: 36px;
}

.property-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.property-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    border-bottom: 1px solid var(--bg-soft);
    line-height: 1.5;
}

.property-features-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: var(--red);
    border-radius: 50%;
    margin-top: 5px;
}

/* Description */
.property-description-block {
    margin-bottom: 36px;
}

.property-desc-text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-muted);
}

.property-desc-text p { color: var(--text-muted); }
.property-desc-text strong, .property-desc-text b { color: var(--text); }

/* Map block */
.property-map-block {
    margin-bottom: 36px;
}

.property-map {
    height: 360px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid var(--border);
}

/* Accordion */
.property-accordion {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.prop-acc-item {
    border-bottom: 1.5px solid var(--border);
}

.prop-acc-item:last-child {
    border-bottom: none;
}

.prop-acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: background var(--transition), color var(--transition);
}

.prop-acc-trigger:hover {
    background: var(--bg-soft);
    color: var(--red);
}

.prop-acc-trigger span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prop-acc-trigger span i {
    color: var(--red);
    font-size: 14px;
    width: 16px;
}

.prop-acc-icon {
    font-size: 12px;
    color: var(--grey-light);
    transition: transform 0.25s ease;
}

.prop-acc-body.show .prop-acc-icon {
    transform: rotate(180deg);
}

.prop-acc-content {
    padding: 20px;
    background: var(--bg-soft);
}

/* Sidebar */
.property-sidebar-col {
    /* holds sticky content */
}

.property-sidebar-sticky {
    position: sticky;
    top: 24px;
}

.viewing-request-box {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.viewing-request-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 16px;
    border-bottom: 1.5px solid var(--border);
    background: var(--black);
}

.viewing-request-header i {
    color: var(--red);
    font-size: 18px;
}

.viewing-request-header h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.viewing-request-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    padding: 14px 20px 4px;
    line-height: 1.6;
}

.viewing-request-box .wpcf7 {
    padding: 0 20px 20px;
}

.viewing-request-box .wpcf7 input[type="submit"] {
    width: 100%;
    justify-content: center;
}

/* Sidebar nudge card */
.sidebar-nudge {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
}

.sidebar-nudge > i {
    color: var(--red);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.sidebar-nudge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.sidebar-nudge p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* -----------------------------------------------
   RESPONSIVE — NEW SECTIONS
----------------------------------------------- */

/* Tablet */
@media (min-width: 768px) and (max-width: 992px) {
    .page-hero { padding: 56px 24px 48px; }
    .page-hero-title { font-size: 36px; }

    .contact-map-wrap { height: 280px; }
    .contact-content-inner { padding: 0 24px; }
    .contact-cards-row { grid-template-columns: 1fr 1fr; }
    .contact-info-card { padding: 24px 16px; }
    .contact-info-card:nth-child(2) { border-right: none; }
    .contact-info-card:nth-child(3) { border-top: 1.5px solid var(--border); }
    .contact-info-card:nth-child(4) { border-top: 1.5px solid var(--border); border-right: none; }
    .contact-form-section { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 56px; }

    .property-layout { grid-template-columns: 1fr; gap: 32px; }
    .property-sidebar-sticky { position: static; }
    .property-features-list { grid-template-columns: 1fr; }
    .property-page-inner { padding: 0 24px 56px; }
    .property-header-top { flex-direction: column; gap: 12px; }
    .property-price-badge { align-items: flex-start; }
}

/* Mobile */
@media (max-width: 767px) {
    .page-hero { padding: 40px 20px 36px; }
    .page-hero-title { font-size: 28px; }
    .page-hero-label { font-size: 10px; }

    .contact-map-wrap { height: 220px; }
    .contact-content-inner { padding: 0 16px; }
    .contact-cards-row { grid-template-columns: 1fr 1fr; }
    .contact-info-card { padding: 20px 14px; border-right: none; border-bottom: 1.5px solid var(--border); }
    .contact-info-card:last-child { border-bottom: none; }
    .contact-info-card:nth-child(odd) { border-right: 1.5px solid var(--border); }
    .contact-form-section { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 48px; }

    .property-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
    .property-sidebar-sticky { position: static; }
    .property-features-list { grid-template-columns: 1fr; }
    .property-page-inner { padding: 0 16px 48px; }
    .property-header-top { flex-direction: column; gap: 10px; }
    .property-price-badge { align-items: flex-start; }
    .property-map { height: 260px; }
    .property-quick-stats { gap: 6px; }
    .property-stat { font-size: 12px; padding: 5px 10px; }
    .prop-acc-trigger { padding: 14px 16px; font-size: 13px; }
    .prop-acc-content { padding: 16px; }
    .viewing-request-header { padding: 16px; }
    .sidebar-nudge { padding: 14px 16px; }

    .section-header { padding: 36px 0 4px; }
    .section-eyebrow { font-size: 10px; }
}

/* -----------------------------------------------
   UTILITY FIXES
----------------------------------------------- */
/* m-1 fix for FA icons */
.m-1 { margin: 0.25rem !important; }

/* row-btm-border override — use CSS var */
.row-btm-border { border-bottom: 2px solid var(--red); padding-bottom: 12px; margin-bottom: 16px; }


.contact-form-header {
    margin-bottom: 32px;
}

/* ========================================
   SEARCH PAGE — complete redesign
   Fixes: double HTML, broken form layout,
   misaligned radio buttons
======================================== */

/* Hero banner above filter */
.search-page-hero {
    background: var(--black);
    padding: 48px 40px 40px;
    position: relative;
    overflow: hidden;
}

.search-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.search-page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
}

.search-page-title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    margin: 8px 0 0;
    text-transform: none;
}

/* Filter bar */
.search-filter-bar {
    background: var(--white);
    border-bottom: 1.5px solid var(--border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 0 !important;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
}

.search-filter-inner {
    padding: 0 40px;
    overflow: visible;
}

.search-filter-row {
    display: flex;
    align-items: flex-end;
    gap: 0;
    width: 100%;
    overflow: visible;
}

/* Submit button */
.search-filter-submit {
    display: flex;
    flex-direction: column;
    padding: 12px 0 12px 16px;
    flex-shrink: 0;
    padding-right: 4px;
}

/* Sales / Lettings type toggle */
.search-filter-type {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 20px 16px 0;
    border-right: 1.5px solid var(--border);
    margin-right: 0;
    flex-shrink: 0;
    justify-content: center;
}

.search-type-option {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    margin: 0;
    padding: 3px 0;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    user-select: none;
}

.search-type-option input[type="radio"] {
    accent-color: var(--red);
    width: 15px;
    height: 15px;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.search-type-option span {
    line-height: 1;
}

/* Individual filter fields */
.search-filter-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 16px;
    border-right: 1.5px solid var(--border);
    min-width: 0;
}

.search-filter-field label {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-light);
    margin-bottom: 4px;
    display: block;
    white-space: nowrap;
}

.search-filter-field .form-control {
    border: none;
    border-radius: 0;
    padding: 4px 0 !important;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: transparent;
    box-shadow: none;
    height: auto;
    line-height: 1.4;
}

.search-filter-field .form-control:focus {
    box-shadow: none;
    border-bottom: 2px solid var(--red);
    outline: none;
}

.search-filter-field .form-control::placeholder {
    color: var(--grey-light);
    font-size: 13px;
}

/* Submit button */
.search-filter-submit {
    display: flex;
    flex-direction: column;
    padding: 12px 0 12px 16px;
    flex-shrink: 0;
}

.search-filter-submit label {
    font-size: 10px;
    color: transparent;
    margin-bottom: 4px;
    display: block;
}

.search-submit-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-sm) !important;
    white-space: nowrap;
    min-width: 90px;
}

/* Results wrapper */
.search-results-wrap {
    background: var(--bg-soft);
    min-height: 60vh;
    padding: 32px 0 64px !important;
}

.search-results-wrap .max-w {
    padding: 0 40px;
}

/* Loader */
.search-loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    gap: 14px;
    color: var(--grey);
}

.search-loader i {
    font-size: 28px;
    color: var(--red);
}

.search-loader span {
    font-size: 14px;
    font-weight: 500;
    color: var(--grey);
    font-family: var(--font-display);
}

/* Error state */
.search-error {
    text-align: center;
    padding: 48px 0;
    color: var(--grey);
    font-size: 15px;
}

/* Results grid — override search.php card padding */
#searchresults .max-w {
    padding: 0;
}

#searchresults .search-page {
    padding: 8px 0 24px;
}

/* ========================================
   SEARCH PAGE — RESPONSIVE
======================================== */

@media (max-width: 1100px) {
    .search-filter-row {
        flex-wrap: wrap;
    }

    .search-filter-type {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        border-right: none;
        border-bottom: 1.5px solid var(--border);
        width: 100%;
        padding: 12px 0;
    }

    .search-filter-field {
        flex: 0 0 calc(50% - 8px);
        border-right: none;
        border-bottom: 1.5px solid var(--border);
        padding: 10px 8px;
    }

    .search-filter-submit {
        width: 100%;
        padding: 12px 0;
    }

    .search-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .search-filter-inner {
        padding: 0 24px;
    }

    .search-results-wrap .max-w {
        padding: 0 24px;
    }
}

@media (max-width: 767px) {
    .search-page-hero {
        padding: 32px 20px 28px;
    }

    .search-filter-inner {
        padding: 0 16px;
    }

    .search-filter-field {
        flex: 0 0 100%;
        padding: 10px 0;
    }

    .search-results-wrap {
        padding: 20px 0 48px !important;
    }

    .search-results-wrap .max-w {
        padding: 0 16px;
    }
}

/* ========================================
   FOOTER — fixed explicit col widths
======================================== */

.footer-row {
    align-items: flex-start;
    padding: 0 !important;
}

/* Logo col */
.the-footer .footer-logo {
    padding: 0 40px 0 0;
    align-items: flex-start;
}

.footer-logo img {
    width: 140px;
    height: auto;
    margin-bottom: 6px;
}

.footer-logo h5 {
    color: rgba(255,255,255,0.45);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: var(--font-body);
    margin: 0;
}

/* Info cols */
.footer-col {
    padding: 0 24px 0 0;
}

/* Social icons col */
.footer-social-col {
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.footer-social-icons {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.65) !important;
    font-size: 15px;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: var(--white) !important;
}

/* Also clean up the old fab direct styling */
.the-footer .fab.fa-facebook,
.the-footer .fab.fa-linkedin {
    font-size: inherit;
    color: inherit;
}

/* ========================================
   FOOTER RESPONSIVE — explicit cols
======================================== */

@media (min-width: 768px) and (max-width: 992px) {
    .the-footer .col-lg-3,
    .the-footer .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-bottom: 28px;
    }

    .footer-social-col {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .the-footer .col-lg-3,
    .the-footer .col-lg-2 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-bottom: 24px;
        padding-right: 0;
    }

    .the-footer .footer-logo {
        padding: 0 0 24px;
    }

    .footer-social-col {
        justify-content: flex-start;
    }

    .bottom-footer {
        padding: 12px 20px !important;
    }

    .bottom-footer .text-md-left,
    .bottom-footer .text-md-right {
        text-align: center !important;
    }
}

/* ========================================
   PROPERTY GALLERY — full redesign
   Swiper 11 compatible, thumbnail strip
======================================== */

.property-gallery-wrap {
    background: var(--black);
    padding: 0 !important;
}

.property-gallery-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
}

/* Main swiper */
.property-main-swiper {
    width: 100%;
    height: 540px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.property-main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nav buttons */
.property-main-swiper .swiper-button-next,
.property-main-swiper .swiper-button-prev {
    color: var(--white);
    background: rgba(0,0,0,0.45);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background var(--transition);
}

.property-main-swiper .swiper-button-next:hover,
.property-main-swiper .swiper-button-prev:hover {
    background: var(--red);
}

.property-main-swiper .swiper-button-next::after,
.property-main-swiper .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 700;
}

/* Image counter overlay */
.swiper-image-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.55);
    color: rgba(255,255,255,0.9);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 10;
    letter-spacing: 0.04em;
}

/* Thumbnail strip */
.property-thumb-strip {
    display: flex;
    gap: 6px;
    padding: 8px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: var(--black);
}

.property-thumb-strip::-webkit-scrollbar {
    display: none;
}

.property-thumb-item {
    flex: 0 0 120px;
    height: 78px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.property-thumb-item:hover {
    opacity: 0.8;
}

.property-thumb-item.active {
    opacity: 1;
    border-color: var(--red);
}

.property-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* ========================================
   PROPERTY PAGE — CONSOLIDATED CSS
======================================== */

/* Clear duplicates — definitive rules */
.property-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    padding-top: 40px;
    align-items: start;
}

.property-main-col {
    min-width: 0;
}

.property-page-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px 80px;
}

.property-header {
    border-bottom: 1.5px solid var(--border);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.property-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

h1.property-title {
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 0;
    flex: 1;
    text-transform: none;
}

.property-price-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.property-price-status {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    font-family: var(--font-display);
}

h2.property-price,
.property-price {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--red);
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1;
    text-transform: none;
}

/* ========================================
   ACCORDION — pure CSS/JS, no Bootstrap
======================================== */

.prop-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.prop-acc-body.acc-open {
    /* max-height set by JS */
}

.prop-acc-icon {
    font-size: 12px;
    color: var(--grey-light);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

/* ========================================
   RESPONSIVE — GALLERY + PROPERTY PAGE
======================================== */

@media (max-width: 992px) {
    .property-gallery-inner { padding: 0 20px; }
    .property-main-swiper { height: 380px; }
    .property-thumb-item { flex: 0 0 90px; height: 60px; }
    .property-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
    .property-sidebar-sticky { position: static; }
    .property-page-inner { padding: 0 24px 56px; }
    .property-header-top { flex-direction: column; gap: 10px; }
    .property-price-badge { align-items: flex-start; }
}

@media (max-width: 767px) {
    .property-gallery-inner { padding: 0; }
    .property-main-swiper { height: 260px; border-radius: 0; }
    .property-thumb-item { flex: 0 0 72px; height: 48px; }
    .property-thumb-strip { padding: 6px 0 0; gap: 4px; }
    .property-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 16px; }
    .property-page-inner { padding: 0 16px 48px; }
    .property-map { height: 240px; }
    .property-features-list { grid-template-columns: 1fr; }
    .swiper-image-counter { font-size: 11px; bottom: 10px; right: 10px; }
}

/* ========================================
   PROPERTY GALLERY — vanilla JS, no Swiper
======================================== */

/* Gallery box — inside max-w content area */
.prop-gallery-box {
    margin-bottom: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #111;
    box-shadow: var(--shadow);
}

/* Main stage */
.prop-gallery-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

.prop-gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prop-gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.prop-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Prev/Next buttons */
.prop-gal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.5);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
    backdrop-filter: blur(4px);
}

.prop-gal-btn:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.08);
}

.prop-gal-prev { left: 20px; }
.prop-gal-next { right: 20px; }

/* Counter */
.prop-gal-counter {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: rgba(0,0,0,0.55);
    color: rgba(255,255,255,0.9);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    z-index: 10;
    letter-spacing: 0.04em;
    backdrop-filter: blur(4px);
}

.prop-gal-sep {
    margin: 0 4px;
    opacity: 0.55;
}

/* Thumbnail strip */
.prop-gal-thumbs {
    display: flex;
    gap: 4px;
    padding: 6px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
    background: #0a0a0a;
    -webkit-overflow-scrolling: touch;
}

.prop-gal-thumbs::-webkit-scrollbar { display: none; }

.prop-gal-thumb {
    flex: 0 0 110px;
    height: 72px;
    border: 2px solid transparent;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.45;
    padding: 0;
    background: none;
    transition: opacity 0.18s ease, border-color 0.18s ease;
}

.prop-gal-thumb:hover { opacity: 0.75; }

.prop-gal-thumb.active {
    opacity: 1;
    border-color: var(--red);
}

.prop-gal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* ========================================
   PROPERTY PAGE — new clean layout
======================================== */

.prop-page {
    background: var(--white);
}

.prop-page-inner {
    padding: 0 40px 80px;
}

/* Top bar: address + price */
.prop-top-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 0 24px;
    border-bottom: 1.5px solid var(--border);
    flex-wrap: wrap;
}

.prop-address {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    text-transform: none;
    line-height: 1.2;
}

.prop-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.prop-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    font-family: var(--font-display);
}

.prop-stat i { color: var(--red); font-size: 11px; }

.prop-status-tag {
    display: inline-block;
    background: rgba(200,23,30,0.09);
    color: var(--red);
    border: 1.5px solid var(--red-border);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
}

.prop-top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    gap: 2px;
}

.prop-price-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    font-family: var(--font-display);
}

.prop-price {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: var(--red);
    letter-spacing: -0.03em;
    line-height: 1;
}

/* Two-col body */
.prop-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    padding-top: 36px;
    align-items: start;
}

.prop-detail-col { min-width: 0; }

/* Section blocks */
.prop-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1.5px solid var(--border);
}

.prop-section:last-child {
    border-bottom: none;
}

.prop-section-label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-light);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prop-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Features list */
.prop-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.prop-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    border-bottom: 1px solid var(--bg-soft);
    line-height: 1.5;
}

.prop-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    min-width: 5px;
    background: var(--red);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

/* Description */
.prop-desc {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-muted);
}

.prop-desc p { color: var(--text-muted); line-height: 1.85; }

/* Map */
.prop-map {
    height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid var(--border);
}

/* Accordion */
.prop-accordion {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.prop-acc-item { border-bottom: 1.5px solid var(--border); }
.prop-acc-item:last-child { border-bottom: none; }

.prop-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: background 0.18s ease, color 0.18s ease;
    gap: 12px;
}

.prop-acc-btn span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prop-acc-btn span i { color: var(--red); font-size: 13px; width: 14px; }

.prop-acc-btn:hover { background: var(--bg-soft); color: var(--red); }

.prop-acc-icon {
    font-size: 11px;
    color: var(--grey-light);
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.prop-acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    background: var(--bg-soft);
}

.prop-acc-panel.open {
    /* maxHeight set by JS */
}

.prop-acc-panel > * {
    padding: 20px;
}

/* Sidebar */
.prop-sidebar-inner {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prop-viewing-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.prop-viewing-head {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--black);
    padding: 16px 20px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.prop-viewing-head i { color: var(--red); font-size: 16px; }

.prop-viewing-body {
    padding: 16px 20px 20px;
    background: var(--white);
}

.prop-viewing-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.55;
}

.prop-viewing-body .wpcf7 input[type="submit"] {
    width: 100%;
    justify-content: center;
}

.prop-nudge {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
}

.prop-nudge > i { color: var(--red); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.prop-nudge strong { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.prop-nudge p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.4; }

/* ========================================
   PROPERTY PAGE — RESPONSIVE
======================================== */

@media (max-width: 1024px) {
    .prop-body { grid-template-columns: 1fr 300px; gap: 32px; }
    .prop-gallery-main { max-height: 440px; }
}

@media (max-width: 768px) {
    .prop-gallery-main { max-height: 320px; }
    .prop-gal-btn { width: 38px; height: 38px; font-size: 12px; }
    .prop-gal-prev { left: 10px; }
    .prop-gal-next { right: 10px; }
    .prop-gal-thumb { flex: 0 0 80px; height: 52px; }

    .prop-page-inner { padding: 0 16px 48px; }
    .prop-top-bar { padding: 20px 0 16px; gap: 16px; }
    .prop-top-right { align-items: flex-start; }
    .prop-body { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
    .prop-sidebar-inner { position: static; }
    .prop-features { grid-template-columns: 1fr; }
    .prop-map { height: 240px; }
    .prop-price { font-size: 24px; }
    .prop-address { font-size: 18px; }
}

@media (max-width: 480px) {
    .prop-gallery-main { max-height: 240px; }
    .prop-gal-thumb { flex: 0 0 64px; height: 42px; }
    .prop-gal-counter { font-size: 11px; bottom: 10px; right: 10px; }
}

/* ========================================
   PROPERTY GALLERY — inside content area
   Overrides / fixes after restructure
======================================== */

/* Gallery box sits at top of prop-page-inner */
.prop-page-inner {
    padding: 32px 40px 80px;
}

.prop-gallery-box {
    margin-bottom: 28px;
}

/* Thumb strip inside gallery box */
.prop-gal-thumbs {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    background: #0d0d0d;
    padding: 4px 4px;
    -webkit-overflow-scrolling: touch;
}

.prop-gal-thumbs::-webkit-scrollbar { display: none; }

.prop-gal-thumb {
    flex: 0 0 100px;
    height: 64px;
    border: 2px solid transparent;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.45;
    padding: 0;
    background: none;
    transition: opacity 0.18s, border-color 0.18s;
}

.prop-gal-thumb:hover { opacity: 0.75; }
.prop-gal-thumb.active { opacity: 1; border-color: var(--red); }

.prop-gal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Nav buttons */
.prop-gal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.55);
    border: 1.5px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, transform 0.18s;
    backdrop-filter: blur(4px);
}

.prop-gal-btn:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.08);
}

.prop-gal-prev { left: 16px; }
.prop-gal-next { right: 16px; }

/* Counter */
.prop-gal-counter {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0,0,0,0.58);
    color: rgba(255,255,255,0.88);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.03em;
    backdrop-filter: blur(4px);
}

.prop-gal-counter i { font-size: 10px; opacity: 0.7; }

/* Responsive */
@media (max-width: 992px) {
    .prop-page-inner { padding: 20px 24px 56px; }
    .prop-gal-thumb { flex: 0 0 80px; height: 52px; }
}

@media (max-width: 767px) {
    .prop-page-inner { padding: 16px 16px 48px; }
    .prop-gal-thumb { flex: 0 0 64px; height: 44px; }
    .prop-gal-btn { width: 36px; height: 36px; font-size: 11px; }
    .prop-gal-prev { left: 10px; }
    .prop-gal-next { right: 10px; }
}
