/*
Theme Name: The Property Bureau
Theme URI: https://propertybureau.co.za
Author: The Property Bureau
Author URI: https://propertybureau.co.za
Description: Custom WordPress theme for The Property Bureau — Cape Town Property Rental, Sales & Trust Portfolio Management Specialists. Supports property listings (buy/rent), landlord & tenant portals, and YOTI/JRT integration.
Version: 1.0.47
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: property-bureau
Tags: real-estate, property, custom-logo, custom-menu, featured-images
*/

/* ==========================================================================
   CSS Variables — Property Bureau Branding
   ========================================================================== */
:root {
    --pb-navy: #1e3a72;
    --pb-navy-light: #24508a;
    --pb-gold: #c9a84c;
    --pb-gold-light: #d4b95f;
    --pb-white: #ffffff;
    --pb-off-white: #f7f8fb;
    --pb-grey-light: #e8edf4;
    --pb-grey: #8a95a8;
    --pb-grey-dark: #4a5568;
    --pb-text: #2d3748;
    --pb-success: #28a745;
    --pb-danger: #dc3545;
    --pb-font-primary: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --pb-font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --pb-max-width: 1200px;
    --pb-border-radius: 10px;
    --pb-border-radius-sm: 6px;
    --pb-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.07);
    --pb-shadow-hover: 0 4px 8px rgba(0,0,0,0.06), 0 12px 32px rgba(0,0,0,0.12);
    --pb-transition: all 0.25s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 17px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--pb-font-primary);
    color: var(--pb-text);
    line-height: 1.6;
    background: var(--pb-white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--pb-navy);
    text-decoration: none;
    transition: var(--pb-transition);
}

a:hover {
    color: var(--pb-gold);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pb-font-heading);
    color: var(--pb-navy);
    line-height: 1.25;
    margin-bottom: 0.5em;
    font-weight: 700;
    letter-spacing: -0.3px;
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}
h3 {
    font-size: 1.65rem;
    font-weight: 700;
}
h4 {
    font-size: 1.3rem;
    font-weight: 600;
}

p { margin-bottom: 1em; }

.container {
    max-width: var(--pb-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 13px 30px;
    border: none;
    border-radius: 8px;
    font-family: var(--pb-font-primary);
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transform: translate(-50%, -50%);
}

.btn:active::before {
    width: 200px;
    height: 200px;
    transition: width 0.5s, height 0.5s;
}

.btn-primary {
    background: var(--pb-gold);
    color: var(--pb-navy);
}

.btn-primary:hover {
    background: var(--pb-gold-light);
    color: var(--pb-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
    background: var(--pb-navy);
    color: var(--pb-white);
}

.btn-secondary:hover {
    background: var(--pb-navy-light);
    color: var(--pb-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 114, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--pb-gold);
    color: var(--pb-gold);
}

.btn-outline:hover {
    background: var(--pb-gold);
    color: var(--pb-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.2);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background: var(--pb-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 #e8edf4, 0 2px 12px rgba(0,0,0,0.05);
    overflow: visible;
}

/* Offset sticky header when WordPress admin bar is present */
.admin-bar .site-header {
    top: 32px;
}

.admin-bar .header-sticky .header-main {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
    .admin-bar .header-sticky .header-main {
        top: 46px;
    }
}

.header-top {
    background: var(--pb-off-white);
    padding: 5px 0;
    font-size: 0.78rem;
    border-bottom: 1px solid var(--pb-grey-light);
    color: var(--pb-grey-dark);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top span {
    color: var(--pb-grey-dark);
}

.header-top a {
    color: var(--pb-navy);
}

.header-top a:hover {
    color: var(--pb-gold);
}

.header-phone {
    color: var(--pb-navy) !important;
    font-weight: 600;
}

.header-main {
    padding: 14px 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    overflow: visible;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--pb-navy);
}

.site-logo img,
.site-logo .pb-logo,
.site-logo .custom-logo {
    display: block;
    height: 72px;
    width: auto;
    max-width: 260px;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    overflow: visible;
    padding: 4px 0;
}

.site-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.site-logo .logo-text {
    font-family: var(--pb-font-heading);
    font-size: 1.35rem;
    color: var(--pb-navy);
    font-weight: 700;
    white-space: nowrap;
}

.site-logo .logo-text span {
    color: var(--pb-gold);
}

/* Primary Navigation */
.primary-nav {
    margin-left: auto;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    gap: 0;
}

.primary-nav a {
    display: block;
    padding: 8px 11px;
    color: var(--pb-navy);
    font-size: 0.82rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--pb-gold);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}

.primary-nav a:hover,
.primary-nav .current-menu-item a {
    color: var(--pb-gold);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item a::after {
    width: 80%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--pb-navy);
    margin: 5px 0;
    transition: var(--pb-transition);
    border-radius: 2px;
}

/* ==========================================================================
   Hero / Search Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 520px;
    text-align: center;
    padding: 80px 20px 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(30, 58, 114, 0.2), rgba(30, 58, 114, 0.3));
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    color: var(--pb-white);
    font-size: 3.2rem;
    margin-bottom: 12px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero p {
    color: rgba(255,255,255,0.95);
    font-size: 1.15rem;
    max-width: 580px;
    margin: 0 auto;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    letter-spacing: 0.3px;
}

/* Search bar pinned to bottom of hero photo */
.hero-search-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
}

.hero-search-bar .search-type-select,
.hero-search-bar select {
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--pb-grey-light);
    border-radius: var(--pb-border-radius);
    font-family: var(--pb-font-primary);
    font-size: 0.9rem;
    color: var(--pb-text);
    background: var(--pb-white);
    cursor: pointer;
    min-width: 130px;
}

.hero-search-bar .search-type-select {
    font-weight: 600;
    color: var(--pb-navy);
    border-color: var(--pb-navy);
    min-width: 150px;
}

.hero-search-bar .btn-search {
    height: 42px;
    padding: 0 28px;
    background: var(--pb-navy);
    color: var(--pb-white);
    border: none;
    border-radius: var(--pb-border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(30, 58, 114, 0.2);
}

.hero-search-bar .btn-search:hover {
    background: var(--pb-gold);
    color: var(--pb-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 168, 76, 0.35);
}

.hero-search-bar .btn-advanced {
    height: 42px;
    padding: 0 20px;
    background: var(--pb-white);
    color: var(--pb-navy);
    border: 2px solid var(--pb-navy);
    border-radius: var(--pb-border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-search-bar .btn-advanced:hover {
    background: var(--pb-navy);
    color: var(--pb-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 114, 0.2);
}

.hero-search-basic {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.hero-search-advanced {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--pb-grey-light);
    margin-top: 10px;
}

/* Property Search Form */
.property-search {
    background: var(--pb-white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--pb-grey-light);
}

.search-tab {
    padding: 10px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--pb-grey);
    position: relative;
    transition: var(--pb-transition);
}

.search-tab.active,
.search-tab:hover {
    color: var(--pb-navy);
}

.search-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--pb-gold);
}

.search-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.search-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--pb-grey);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--pb-grey-light);
    border-radius: 8px;
    font-family: var(--pb-font-primary);
    font-size: 0.9rem;
    color: var(--pb-text);
    background: var(--pb-white);
    transition: all 0.3s ease;
}

.search-field select:hover,
.search-field input:hover {
    border-color: var(--pb-gold);
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: var(--pb-gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}

.search-submit {
    width: 100%;
}

/* ==========================================================================
   Section Utilities
   ========================================================================== */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--pb-gold), transparent);
    margin: 40px 0;
}

/* ==========================================================================
   Property Cards
   ========================================================================== */
.properties-section {
    padding: 70px 0;
    background: var(--pb-white);
}

.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-header h2 {
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: var(--pb-gold);
    border-radius: 2px;
}

.section-header p {
    color: var(--pb-grey);
    font-size: 1.05rem;
    line-height: 1.6;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* ==========================================================================
   Property Card — Premium Polish (v35)
   ========================================================================== */
.property-card {
    background: var(--pb-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(30, 58, 114, 0.06), 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(232, 237, 244, 0.7);
    border-left: 0;
    position: relative;
}

.property-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, var(--pb-gold) 0%, var(--pb-gold-light) 100%);
    transition: width 0.3s ease;
    z-index: 1;
    border-radius: 16px 0 0 16px;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 58, 114, 0.12), 0 4px 12px rgba(0,0,0,0.06);
}

.property-card:hover::before {
    width: 4px;
}

.property-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    display: block;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-card:hover .property-card-image img {
    transform: scale(1.06);
}

.property-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    right: auto;
    width: auto;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 4px;
    z-index: 2;
}

.badge-rent {
    background: var(--pb-gold);
    color: var(--pb-navy);
}

.badge-buy {
    background: var(--pb-navy);
    color: var(--pb-white);
}

.badge-new {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.badge-let {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.badge-sold {
    background: linear-gradient(135deg, #c9a84c, #b8943e);
    color: #1e3a72;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
}

.properties-grid-sold .property-card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.12);
    z-index: 1;
}

.property-card-content {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
}

.property-price {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--pb-navy);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.property-price span {
    font-size: 0.78rem;
    color: var(--pb-grey);
    font-weight: 500;
    display: inline;
    margin-left: 2px;
}

.property-title {
    font-family: var(--pb-font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--pb-text);
    margin-bottom: 6px;
    line-height: 1.4;
}

.property-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.property-title a:hover {
    color: var(--pb-navy);
}

.property-location {
    font-size: 0.85rem;
    color: var(--pb-grey);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.property-location::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9a84c'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center/contain;
    flex-shrink: 0;
}

.property-features {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--pb-grey-light);
    flex-wrap: wrap;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--pb-grey-dark);
    font-weight: 500;
}

.property-feature svg {
    width: 16px;
    height: 16px;
    fill: var(--pb-gold);
    flex-shrink: 0;
}

.property-ref {
    font-size: 0.72rem;
    color: var(--pb-grey);
    margin-top: 10px;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.property-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 11px 20px;
    background: var(--pb-navy);
    color: var(--pb-white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: stretch;
    justify-content: center;
}

.property-card-link:hover {
    background: var(--pb-gold);
    color: var(--pb-navy);
    transform: none;
}

/* ==========================================================================
   Recently Let Section
   ========================================================================== */
.recently-let-section {
    margin-top: 60px;
    padding-top: 50px;
    padding-bottom: 50px;
    border-top: 1px solid var(--pb-grey-light);
    background: var(--pb-off-white);
}

.recently-let-header {
    margin-bottom: 30px;
}

.recently-let-header h2 {
    font-family: var(--pb-font-heading);
    font-size: 1.6rem;
    color: var(--pb-navy);
    margin-bottom: 8px;
}

.recently-let-header p {
    font-size: 0.95rem;
    color: var(--pb-grey);
}

.properties-grid-let .property-card {
    opacity: 0.65;
    position: relative;
}

.properties-grid-let .property-card:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.properties-grid-let .property-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.properties-grid-let .property-badge {
    z-index: 2;
}

/* ==========================================================================
   Services / Info Sections
   ========================================================================== */
.services-section {
    padding: 70px 0;
    background: var(--pb-off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--pb-white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--pb-shadow);
    border: 1px solid var(--pb-grey-light);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pb-shadow-hover);
    border-color: var(--pb-gold);
}

.service-icon {
    width: 68px;
    height: 68px;
    background: var(--pb-off-white);
    border: 2px solid var(--pb-grey-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.service-icon svg {
    fill: var(--pb-navy) !important;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--pb-gold);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--pb-grey-dark);
    font-size: 0.9rem;
}

/* ==========================================================================
   Landlord & Tenant Section
   ========================================================================== */
.portal-section {
    padding: 70px 0;
    background: var(--pb-white);
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portal-card {
    background: linear-gradient(135deg, var(--pb-navy) 0%, #24508a 100%);
    border-radius: 18px;
    padding: 50px 40px;
    color: var(--pb-white);
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30, 58, 114, 0.25);
    border-color: rgba(201, 168, 76, 0.3);
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 0 0 0 100%;
}

.portal-card h2 {
    color: var(--pb-gold);
    margin-bottom: 15px;
}

.portal-card p {
    color: var(--pb-grey-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.portal-card .btn-outline {
    border-color: var(--pb-gold);
    color: var(--pb-gold);
}

.portal-card .btn-outline:hover {
    background: var(--pb-gold);
    color: var(--pb-navy);
}

/* ==========================================================================
   CTA / Valuation Section
   ========================================================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(26, 42, 68, 0.9), rgba(26, 42, 68, 0.95)),
                url('assets/images/cta-bg.jpg') center/cover no-repeat;
    text-align: center;
    color: var(--pb-white);
}

.cta-section h2 {
    color: var(--pb-white);
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--pb-grey-light);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
    padding: 70px 0;
    background: var(--pb-off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--pb-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--pb-shadow);
    position: relative;
    border: 1px solid var(--pb-grey-light);
    transition: all 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pb-shadow-hover);
    border-color: var(--pb-gold);
}

.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    font-family: var(--pb-font-heading);
    color: var(--pb-gold);
    line-height: 1;
    position: absolute;
    top: 15px;
    left: 25px;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    color: var(--pb-grey-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--pb-navy);
}

/* ==========================================================================
   Featured Areas
   ========================================================================== */
.featured-areas-section {
    padding: 70px 0;
    background: var(--pb-white);
}

.featured-areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.area-card {
    display: block;
    background: var(--pb-off-white);
    border: 1px solid var(--pb-grey-light);
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.area-card:hover {
    background: var(--pb-navy);
    border-color: var(--pb-navy);
    transform: translateY(-3px);
    box-shadow: var(--pb-shadow-hover);
}

.area-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pb-navy);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.area-card:hover h3 {
    color: var(--pb-white);
}

.area-card p {
    font-size: 0.85rem;
    color: var(--pb-grey);
    margin: 0;
    transition: color 0.3s ease;
}

.area-card:hover p {
    color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   News / Blog
   ========================================================================== */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-card {
    background: var(--pb-white);
    border: 1px solid var(--pb-grey-light);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--pb-shadow);
}

.news-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.news-date {
    font-size: 0.82rem;
    color: var(--pb-grey);
}

.news-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pb-navy);
    background: var(--pb-off-white);
    padding: 3px 10px;
    border-radius: 4px;
}

.news-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pb-navy);
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pb-navy);
    margin-top: 28px;
    margin-bottom: 10px;
}

.news-card p {
    color: var(--pb-grey-dark);
    line-height: 1.75;
    margin-bottom: 14px;
}

.news-card a {
    color: var(--pb-navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.news-card a:hover {
    color: var(--pb-gold);
}

/* ==========================================================================
   Partners
   ========================================================================== */
.partners-section {
    padding: 50px 0;
    text-align: center;
    background: var(--pb-off-white);
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partners-logos img {
    max-height: 50px;
    opacity: 0.6;
    transition: var(--pb-transition);
    filter: grayscale(100%);
}

.partners-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-text-logo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pb-navy);
    opacity: 0.6;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: var(--pb-transition);
    white-space: nowrap;
}

.partner-text-logo:hover {
    opacity: 1;
    border-color: var(--pb-gold);
    color: var(--pb-navy);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: linear-gradient(135deg, var(--pb-navy) 0%, #16273a 100%);
    color: var(--pb-grey-light);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-about .logo-text {
    font-family: var(--pb-font-heading);
    font-size: 1.3rem;
    color: var(--pb-white);
    margin-bottom: 15px;
}

.footer-about .logo-text span {
    color: var(--pb-gold);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--pb-grey);
}

.footer-heading {
    font-family: var(--pb-font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pb-gold);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--pb-grey);
    font-size: 0.9rem;
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--pb-gold);
    transform: translateX(4px);
    display: inline-block;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--pb-grey);
}

.footer-contact a {
    color: var(--pb-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    padding: 25px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--pb-grey);
}

/* ==========================================================================
   Page Templates
   ========================================================================== */
.page-banner {
    background: #ffffff;
    border-bottom: 1px solid #e8edf4;
    padding: 48px 0 40px;
    text-align: center;
}

.page-banner h1 {
    color: var(--pb-navy);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
    letter-spacing: -0.3px;
}

.page-banner h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    background: var(--pb-gold);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.page-banner:hover h1::after {
    width: 64px;
}

.page-banner .breadcrumbs {
    color: var(--pb-grey);
    font-size: 0.82rem;
    margin-top: 10px;
}

.page-banner .breadcrumbs a {
    color: var(--pb-navy);
    font-weight: 500;
}

.page-banner .breadcrumbs a:hover {
    color: var(--pb-gold);
}

/* Page banner with photo background — white text variant */
.page-banner--photo h1 {
    color: #ffffff;
}

.page-banner--photo h1::after {
    background: var(--pb-gold);
}

.page-banner--photo .breadcrumbs {
    color: rgba(255,255,255,0.75);
}

.page-banner--photo .breadcrumbs a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.page-banner--photo .page-banner-sub {
    color: rgba(255,255,255,0.85);
}

.page-banner--photo {
    padding: 100px 0 90px;
}

.page-content {
    padding: 60px 0;
}

/* Property Archive/Search Results */
.property-archive {
    padding: 40px 0;
}

.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.archive-count {
    color: var(--pb-grey);
    font-size: 0.9rem;
}

.archive-sort select {
    padding: 8px 14px;
    border: 1px solid var(--pb-grey-light);
    border-radius: var(--pb-border-radius);
    font-family: var(--pb-font-primary);
}

/* Single Property */
.single-property {
    padding: 40px 0;
}

.property-gallery {
    margin-bottom: 30px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.property-gallery-main {
    position: relative;
    height: 520px;
    background: #111;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
}

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

.property-gallery-main:hover img {
    transform: scale(1.02);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}
.gallery-nav:hover {
    background: rgba(201, 168, 76, 0.8);
    transform: translateY(-50%) scale(1.1);
}
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.8rem;
    padding: 3px 9px;
    border-radius: 20px;
}

.property-gallery-thumbs {
    display: flex;
    gap: 6px;
    padding: 8px 0 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.property-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.property-gallery-thumbs::-webkit-scrollbar-thumb { background: var(--pb-grey-light); border-radius: 4px; }

.gallery-thumb {
    flex: 0 0 auto;
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    opacity: 0.85;
    transform: scale(1.05);
}
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--pb-gold);
    box-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.property-detail-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px;
    background: var(--pb-off-white);
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--pb-grey-light);
}

.detail-feature {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-feature:hover {
    background: var(--pb-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-feature .value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--pb-navy);
    letter-spacing: -0.2px;
}

.detail-feature .label {
    font-size: 0.75rem;
    color: var(--pb-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

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

.sidebar-card {
    background: var(--pb-white);
    border: 1px solid var(--pb-grey-light);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--pb-gold);
}

.sidebar-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pb-navy);
    margin-bottom: 5px;
}

.sidebar-price span {
    font-size: 0.9rem;
    color: var(--pb-grey);
    font-weight: 400;
}

/* Form Group Styling */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

/* Contact Form (sidebar & page) */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--pb-text);
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--pb-grey-light);
    border-radius: 8px;
    font-family: var(--pb-font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--pb-white);
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
    border-color: var(--pb-gold);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--pb-gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
    background: var(--pb-white);
}

.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form select:focus + label {
    color: var(--pb-gold);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
    font-family: var(--pb-font-primary);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .properties-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .search-fields {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Tighter nav on tablets */
    .primary-nav a {
        padding: 8px 8px;
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--pb-white);
        box-shadow: var(--pb-shadow);
        border-top: 1px solid var(--pb-grey-light);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    padding-bottom: 20px;
}

    .primary-nav.open {
        display: block;
    }

    .primary-nav ul {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .primary-nav a {
        padding: 12px 20px;
        font-size: 0.88rem;
        border-bottom: 1px solid var(--pb-grey-light);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 50px 0;
        min-height: 320px;
    }

    .properties-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .featured-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-grid {
        grid-template-columns: 1fr;
    }

    .search-fields {
        grid-template-columns: 1fr;
    }

    .property-gallery-main {
        height: 260px;
    }

    .property-detail-grid {
        grid-template-columns: 1fr;
    }

    .property-detail-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    /* Area map responsive */
    #pb-property-area-map {
        height: 250px !important;
    }
}

@media (max-width: 480px) {
    .header-top {
        display: none;
    }

    .property-detail-features {
        grid-template-columns: 1fr;
    }

    .property-features {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ==========================================================================
   Archive Filters
   ========================================================================== */
.archive-filters {
    background: var(--pb-off-white);
    padding: 25px 0;
    border-bottom: 1px solid var(--pb-grey-light);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.filter-field {
    flex: 1;
    min-width: 140px;
}

.filter-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pb-grey-dark);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-field select {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid var(--pb-grey-light);
    border-radius: 8px;
    font-family: var(--pb-font-primary);
    font-size: 0.9rem;
    color: var(--pb-text);
    background: var(--pb-white);
    appearance: auto;
    transition: all 0.3s ease;
}

.filter-field select:hover {
    border-color: var(--pb-gold);
}

.filter-field select:focus {
    outline: none;
    border-color: var(--pb-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.filter-submit-field {
    display: flex;
    align-items: flex-end;
}

.filter-submit-field .btn {
    white-space: nowrap;
    padding: 10px 30px;
}

/* Sort Bar */
.archive-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--pb-grey-light);
}

.results-count {
    color: var(--pb-grey);
    font-size: 0.95rem;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.sort-options label {
    color: var(--pb-grey);
    white-space: nowrap;
}

.sort-options select {
    padding: 6px 10px;
    border: 1px solid var(--pb-grey-light);
    border-radius: var(--pb-border-radius);
    font-family: var(--pb-font-primary);
    font-size: 0.9rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    margin-bottom: 15px;
    color: var(--pb-navy);
}

.no-results p {
    color: var(--pb-grey);
    margin-bottom: 10px;
}

.no-results a {
    color: var(--pb-gold);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    border: 1.5px solid var(--pb-grey-light);
    border-radius: 8px;
    color: var(--pb-navy);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--pb-navy);
    color: var(--pb-white);
    border-color: var(--pb-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 114, 0.2);
}

.pagination .current {
    background: var(--pb-navy);
    color: var(--pb-white);
    border-color: var(--pb-navy);
    font-weight: 600;
}

/* ==========================================================================
   Sticky Header — logo always visible, nav collapses to hamburger on scroll
   ========================================================================== */
.header-sticky .header-top {
    display: none;
}

.header-sticky .header-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 6px 0;
    background: var(--pb-white);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* Shrink the logo on scroll */
.header-sticky .site-logo img,
.header-sticky .site-logo .pb-logo,
.header-sticky .site-logo .custom-logo {
    height: 42px;
    width: auto;
    transition: height 0.3s ease, width 0.3s ease;
}

/* Hide desktop nav on scroll, show hamburger */
.header-sticky .primary-nav {
    display: none;
}

.header-sticky .menu-toggle {
    display: block;
}

/* When hamburger is tapped while sticky, show nav as dropdown */
.header-sticky .primary-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pb-white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-top: 1px solid var(--pb-grey-light);
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.header-sticky .primary-nav.open ul {
    flex-direction: column;
    flex-wrap: wrap;
}

.header-sticky .primary-nav.open a {
    padding: 12px 20px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--pb-grey-light);
}

/* Offset content below fixed header */
.header-sticky ~ * {
    /* handled by JS padding-top on body */
}

/* Smooth transitions for logo and header */
.site-logo img,
.site-logo .pb-logo,
.site-logo .custom-logo {
    transition: height 0.3s ease, width 0.3s ease;
}

/* ==========================================================================
   Post List (index.php fallback)
   ========================================================================== */
.posts-list .post-summary {
    padding: 25px 0;
    border-bottom: 1px solid var(--pb-grey-light);
}

.posts-list .post-summary h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.posts-list .post-summary h2 a {
    color: var(--pb-navy);
    text-decoration: none;
}

.posts-list .post-summary h2 a:hover {
    color: var(--pb-gold);
}

.post-date {
    font-size: 0.85rem;
    color: var(--pb-grey);
    margin-bottom: 10px;
}

/* ==========================================================================
   Archive Filter — Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
    }

    .filter-field {
        min-width: 100%;
    }

    .archive-sort-bar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Tenant Application Form
   ========================================================================== */
.apply-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--pb-grey-dark);
    font-size: 0.95rem;
}

.required-star {
    color: var(--pb-danger);
    font-weight: 700;
}

.apply-notice {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 16px 20px;
    border-radius: var(--pb-border-radius);
    font-size: 0.95rem;
}

.apply-notice--success {
    background: #e8f5e9;
    border-left: 4px solid var(--pb-success);
    color: #1b5e20;
}

.apply-notice--error {
    background: #fce4ec;
    border-left: 4px solid var(--pb-danger);
    color: #b71c1c;
}

.apply-notice a {
    color: inherit;
    text-decoration: underline;
}

/* Form layout */
.apply-form {
    max-width: 860px;
    margin: 0 auto;
}

.apply-section {
    border: 1px solid var(--pb-grey-light);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    background: var(--pb-white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.apply-section:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--pb-gold);
}

.apply-section legend {
    font-family: var(--pb-font-heading);
    font-size: 1.2rem;
    color: var(--pb-navy);
    font-weight: 600;
    padding: 0 10px;
}

.section-note {
    font-size: 0.85rem;
    color: var(--pb-grey);
    margin-bottom: 18px;
}

/* Row grids */
.form-row {
    display: grid;
    gap: 18px;
    margin-bottom: 0;
}

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

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

.apply-form .form-group {
    margin-bottom: 20px;
}

.apply-form .form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--pb-navy);
}

.apply-form .form-group input,
.apply-form .form-group textarea,
.apply-form .form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--pb-grey-light);
    border-radius: 8px;
    font-family: var(--pb-font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.apply-form .form-group input:hover,
.apply-form .form-group textarea:hover,
.apply-form .form-group select:hover {
    border-color: var(--pb-gold);
}

.apply-form .form-group input:focus,
.apply-form .form-group textarea:focus,
.apply-form .form-group select:focus {
    outline: none;
    border-color: var(--pb-gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}

/* File inputs */
.form-group--file input[type="file"] {
    padding: 10px;
    border: 2px dashed var(--pb-grey-light);
    border-radius: var(--pb-border-radius);
    width: 100%;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--pb-transition);
    background: var(--pb-off-white);
}

.form-group--file input[type="file"]:hover,
.form-group--file input[type="file"]:focus {
    border-color: var(--pb-gold);
    background: var(--pb-white);
}

/* Checkbox groups */
.form-group--checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--pb-grey-dark);
    cursor: pointer;
    line-height: 1.5;
}

.form-group--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--pb-gold);
}

/* Consent section */
.apply-section--consent {
    background: var(--pb-off-white);
    border-color: var(--pb-grey-light);
}

/* Submit button */
.apply-submit {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 25px auto 0;
    padding: 14px 28px;
    font-size: 1rem;
}

.apply-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Validation error state */
.apply-form .form-group--invalid input,
.apply-form .form-group--invalid textarea,
.apply-form .form-group--invalid select {
    border-color: var(--pb-danger);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.field-error {
    display: block;
    font-size: 0.8rem;
    color: var(--pb-danger);
    margin-top: 4px;
}

/* Second Applicant toggle */
.apply-toggle-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--pb-grey-light);
}

.apply-sub-heading {
    font-family: var(--pb-font-heading);
    font-size: 1.05rem;
    color: var(--pb-navy);
    margin: 25px 0 15px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--pb-grey-light);
}

.apply-sub-heading:first-of-type {
    margin-top: 0;
}

/* Fee schedule table */
.apply-fees-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.apply-fees-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--pb-grey-light);
}

.apply-fees-table td:first-child {
    font-weight: 600;
    color: var(--pb-navy);
    width: 55%;
}

.apply-fees-table td:last-child {
    color: var(--pb-grey-dark);
}

.apply-fees-table tr:last-child td {
    border-bottom: none;
}

/* Declaration text block */
.apply-declaration {
    background: var(--pb-off-white);
    padding: 20px;
    border-radius: var(--pb-border-radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--pb-grey-dark);
    line-height: 1.7;
}

.apply-declaration p:last-child {
    margin-bottom: 0;
}

/* Page banner subtitle */
.page-banner-sub {
    color: var(--pb-grey);
    font-size: 1rem;
    margin-top: 5px;
}

/* Sub-headings within sections */
.apply-sub-heading {
    font-family: var(--pb-font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pb-navy);
    margin: 25px 0 15px;
    padding-top: 15px;
    border-top: 1px solid var(--pb-grey-light);
}

.apply-sub-heading:first-of-type {
    margin-top: 15px;
    padding-top: 0;
    border-top: none;
}

/* Fees table */
.apply-fees-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.apply-fees-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--pb-grey-light);
    font-size: 0.9rem;
}

.apply-fees-table td:first-child {
    color: var(--pb-navy);
    font-weight: 600;
    width: 50%;
}

.apply-fees-table td:last-child {
    color: var(--pb-grey-dark);
}

.apply-fees-table tr:last-child td {
    border-bottom: none;
}

/* Declaration block */
.apply-declaration {
    background: var(--pb-white);
    border: 1px solid var(--pb-grey-light);
    border-radius: var(--pb-border-radius);
    padding: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--pb-grey-dark);
    line-height: 1.7;
}

.apply-declaration p:last-child {
    margin-bottom: 0;
}

/* Toggle content (second applicant) */
.apply-toggle-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--pb-grey-light);
}

/* Application form — responsive */
@media (max-width: 768px) {
    .form-row--2,
    .form-row--3 {
        grid-template-columns: 1fr;
    }

    .apply-section {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .apply-submit {
        max-width: 100%;
    }
}

/* ==========================================================================
   Content Pages (Landlords, Tenants, Valuations, Contact)
   ========================================================================== */

/* Narrow content column */
.content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--pb-navy);
    line-height: 1.7;
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

/* Info card grid */
.info-grid {
    display: grid;
    gap: 30px;
}

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

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

.info-card {
    background: var(--pb-white);
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: var(--pb-shadow);
    transition: var(--pb-transition);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pb-shadow-hover);
}

.info-card-icon {
    width: 56px;
    height: 56px;
    background: var(--pb-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.info-card-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--pb-gold);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--pb-grey-dark);
    line-height: 1.6;
}

.info-card-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.info-card-list li {
    font-size: 0.85rem;
    color: var(--pb-grey-dark);
    line-height: 1.6;
    padding: 6px 0 6px 20px;
    position: relative;
    border-bottom: 1px solid var(--pb-grey-light);
}

.info-card-list li:last-child {
    border-bottom: none;
}

.info-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--pb-gold);
    border-radius: 50%;
}

/* Step cards (Tenants page) */
.info-card--step {
    text-align: center;
    position: relative;
    padding-top: 50px;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--pb-gold);
    color: var(--pb-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--pb-font-heading);
    box-shadow: var(--pb-shadow);
}

/* Info blocks (Tenants page) */
.info-block {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--pb-grey-light);
}

.info-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-block h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.info-block p {
    font-size: 0.9rem;
    color: var(--pb-grey-dark);
    line-height: 1.7;
}

/* Contact page layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: start;
}

.contact-detail-block {
    margin-bottom: 25px;
}

.contact-detail-block h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--pb-navy);
}

.contact-detail-block p {
    font-size: 0.9rem;
    color: var(--pb-grey-dark);
    line-height: 1.7;
}

.contact-detail-block a {
    color: var(--pb-gold);
}

.contact-detail-block a:hover {
    color: var(--pb-navy);
}

.contact-map {
    margin-top: 20px;
}

.contact-form-wrap h2 {
    margin-bottom: 5px;
}

/* Content pages — responsive */
@media (max-width: 1024px) {
    .info-grid--2,
    .info-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-grid--2,
    .info-grid--3 {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lead-text {
        font-size: 1rem;
    }
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }
}

/* ==========================================================================
   POPIA Cookie Consent Banner
   ========================================================================== */
.popia-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pb-navy);
    color: var(--pb-white);
    padding: 20px 0;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.popia-banner.popia-banner--visible {
    transform: translateY(0);
}

.popia-banner .container {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.popia-banner-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
    min-width: 280px;
}

.popia-banner-text a {
    color: var(--pb-gold);
    text-decoration: underline;
}

.popia-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.popia-btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.popia-btn--accept {
    background: var(--pb-gold);
    color: var(--pb-navy);
}

.popia-btn--accept:hover {
    background: var(--pb-gold-light);
}

.popia-btn--necessary {
    background: transparent;
    color: var(--pb-white);
    border: 1px solid rgba(255,255,255,0.3);
}

.popia-btn--necessary:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05);
}

@media (max-width: 600px) {
    .popia-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .popia-banner-actions {
        width: 100%;
        justify-content: center;
    }
    .popia-btn {
        flex: 1;
    }
}

/* ==========================================================================
   About Us Page
   ========================================================================== */
.about-story-section {
    padding: 70px 0;
    background: var(--pb-white);
}

.about-story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-image {
    border-radius: var(--pb-border-radius);
    overflow: hidden;
    box-shadow: var(--pb-shadow-hover);
    position: relative;
}

.about-story-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.about-story-image .image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--pb-gold);
}

.about-story-text h2 {
    margin-bottom: 20px;
}

.about-story-text p {
    font-size: 1.05rem;
    color: var(--pb-text);
    line-height: 1.8;
}

/* How We Work */
.how-section {
    padding: 70px 0;
    background: var(--pb-white);
}

.how-content {
    max-width: 800px;
    margin: 0 auto;
}

.how-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--pb-text);
}

/* Team Section */
.team-section {
    padding: 70px 0;
    background: var(--pb-off-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--pb-white);
    border-radius: var(--pb-border-radius);
    box-shadow: var(--pb-shadow);
    padding: 35px 30px;
    transition: var(--pb-transition);
    border-top: 4px solid var(--pb-gold);
}

.team-card:hover {
    box-shadow: var(--pb-shadow-hover);
    transform: translateY(-5px);
}

.team-card-icon {
    width: 60px;
    height: 60px;
    background: var(--pb-off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.team-card-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--pb-gold);
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.team-card .team-role {
    font-size: 0.9rem;
    color: var(--pb-gold);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.team-card p {
    color: var(--pb-grey);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.7;
}

/* Featured team card */
.team-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: start;
    border-top-color: var(--pb-navy);
    background: linear-gradient(135deg, var(--pb-white) 0%, #f9f7f2 100%);
}

.team-card--featured .team-card-icon {
    width: 70px;
    height: 70px;
    background: var(--pb-navy);
}

.team-card--featured .team-card-icon svg {
    fill: var(--pb-gold);
    width: 34px;
    height: 34px;
}

@media (max-width: 768px) {
    .about-story-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-story-image img {
        height: 300px;
    }
    .team-card--featured {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   IMAGE + TEXT SPLIT SECTIONS
   ============================================================================ */
.image-split-section {
    padding: 70px 0;
    background: var(--pb-white);
}

.image-split-section.alt-bg {
    background: var(--pb-light-grey);
}

.image-split-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.image-split-section.image-right .container {
    flex-direction: row;
}

.image-split-section.image-left .container {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
}

.split-text h2 {
    font-size: 2rem;
    color: var(--pb-navy);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.split-text h2 .gold-line {
    display: block;
    width: 50px;
    height: 3px;
    background: var(--pb-gold);
    margin: 12px 0 20px;
}

.split-text p {
    color: var(--pb-grey);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.split-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.split-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.split-image img:hover {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .image-split-section .container,
    .image-split-section.image-left .container,
    .image-split-section.image-right .container {
        flex-direction: column;
    }
    .split-image img {
        height: 280px;
    }
    .split-text h2 {
        font-size: 1.6rem;
    }
}


/* ============================================================
   Accessibility — Skip to Content
   ============================================================ */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pb-navy, #1a2a3a);
    color: #fff;
    padding: 12px 24px;
    z-index: 10000;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 6px 6px;
    transition: top 0.2s ease;
}
.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--pb-gold, #c9a84c);
    outline-offset: 2px;
}


/* Team card expanded bios */
.team-card .team-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--pb-navy, #1e3a72);
    font-weight: 500;
    margin-bottom: 15px;
    font-style: italic;
}

.team-card .team-competencies {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.team-card .team-competencies li {
    font-size: 0.9rem;
    color: var(--pb-grey, #6b7b8d);
    line-height: 1.6;
    padding: 8px 0 8px 20px;
    position: relative;
    border-bottom: 1px solid var(--pb-off-white, #f5f5f5);
}

.team-card .team-competencies li:last-child {
    border-bottom: none;
}

.team-card .team-competencies li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--pb-gold, #c9a84c);
    border-radius: 50%;
}

.team-card .team-competencies li strong {
    color: var(--pb-navy, #1e3a72);
}

.team-card p + .team-competencies,
.team-card .team-competencies + p {
    margin-top: 15px;
}

.team-card p:last-child {
    margin-bottom: 0;
}

.team-card .team-competencies-heading {
    font-size: 0.95rem;
    color: var(--pb-navy, #1e3a72);
    margin: 15px 0 5px;
    font-weight: 600;
}


/* === Primary nav dropdown menus (added 24.04.2026) === */
.primary-nav ul#menu-main-menu { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.primary-nav ul#menu-main-menu > li { position: relative; }
.primary-nav ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    border-radius: 4px;
}
.primary-nav ul#menu-main-menu > li:hover > ul.sub-menu,
.primary-nav ul#menu-main-menu > li:focus-within > ul.sub-menu {
    display: block;
}
.primary-nav ul.sub-menu li {
    display: block;
    padding: 0;
}
.primary-nav ul.sub-menu li a {
    display: block;
    padding: 10px 18px;
    white-space: nowrap;
    color: #1a2951;
    text-decoration: none;
    font-size: 0.95rem;
}
.primary-nav ul.sub-menu li a:hover {
    background: #f5f5f5;
    color: var(--pb-gold, #c9a84c);
}
/* Indicate parent items have a dropdown */
.primary-nav .menu-item-has-children > a::after {
    content: ' \25BE';
    font-size: 0.7em;
    margin-left: 4px;
    opacity: 0.7;
}
/* Mobile (hamburger): submenus stack inline as accordion-like */
@media (max-width: 900px) {
    .primary-nav ul.sub-menu {
        position: static;
        box-shadow: none;
        background: transparent;
        padding-left: 20px;
        min-width: 0;
        display: block;
    }
    .primary-nav .menu-item-has-children > a::after { display: none; }
}


/* Team member photos (Paul, Pat) — replaces .team-card-icon for headshots */
.team-card-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--pb-off-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* News article byline */
.news-byline {
    font-size: 0.9rem;
    color: #6c6c6c;
    margin: -0.4rem 0 1.2rem 0;
    line-height: 1.5;
}
.news-byline a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.news-byline a:hover {
    color: var(--pb-gold, #c9a84c);
}

/* === Form trust signals block === */
.form-trust-strip {
    background: #faf8f3;
    padding: 3rem 0 2.5rem;
    border-top: 1px solid #e8e2d4;
    border-bottom: 1px solid #e8e2d4;
}
.form-trust-strip .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.trust-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.trust-stat {
    text-align: center;
    padding: 0 0.5rem;
    border-left: 1px solid #e8e2d4;
}
.trust-stat:first-child { border-left: none; }
.trust-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pb-gold, #c9a84c);
    line-height: 1.2;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}
.trust-stat span {
    display: block;
    font-size: 0.85rem;
    color: #4a4a4a;
    line-height: 1.4;
}
.trust-badges-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.25rem 0;
    margin-bottom: 2rem;
    border-top: 1px solid #e8e2d4;
}
.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 140px;
    max-width: 200px;
}
.trust-badge img {
    max-height: 56px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.trust-badge img:hover { opacity: 1; }
.trust-testimonial {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}
.trust-testimonial blockquote {
    border: none;
    margin: 0 0 0.8rem;
    padding: 0;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2a2a2a;
}
.trust-testimonial blockquote p { margin: 0; }
.trust-testimonial blockquote::before {
    content: "\201C";
    display: block;
    font-size: 3rem;
    font-family: Georgia, serif;
    color: var(--pb-gold, #c9a84c);
    line-height: 0.5;
    margin-bottom: 0.8rem;
}
.trust-testimonial figcaption {
    font-size: 0.9rem;
    color: #6c6c6c;
    font-weight: 500;
    letter-spacing: 0.02em;
}
@media (max-width: 900px) {
    .trust-stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0.5rem; }
    .trust-stat:nth-child(odd) { border-left: none; }
    .trust-badges-row { gap: 1rem; }
    .trust-badge { flex-basis: 40%; }
    .trust-badge img { max-height: 48px; }
}
@media (max-width: 540px) {
    .trust-stats-row { grid-template-columns: 1fr; gap: 1.25rem; }
    .trust-stat { border-left: none; border-top: 1px solid #e8e2d4; padding-top: 1rem; }
    .trust-stat:first-child { border-top: none; padding-top: 0; }
    .trust-badge { flex-basis: 45%; }
    .trust-badge img { max-height: 40px; }
    .form-trust-strip { padding: 2rem 0 1.5rem; }
    .trust-testimonial blockquote { font-size: 1rem; }
}

/* === Sticky mobile CTA bar === */
.pb-sticky-cta { display: none; }

@media (max-width: 768px) {
    .pb-sticky-cta {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        z-index: 9999;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
        padding-bottom: env(safe-area-inset-bottom);
    border-radius: 12px 12px 0 0;
}
    .pb-sticky-cta__btn {
        min-height: 44px;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1;
        text-decoration: none;
        color: #fff;
        transition: filter 0.15s;
    }
    .pb-sticky-cta__btn:hover,
    .pb-sticky-cta__btn:focus,
    .pb-sticky-cta__btn:active {
        color: #fff;
        text-decoration: none;
        filter: brightness(1.08);
    }
    .pb-sticky-cta__btn svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
        flex-shrink: 0;
    }
    .pb-sticky-cta__btn--call { background: var(--pb-gold, #c9a84c); }
    .pb-sticky-cta__btn--wa   { background: #25d366; }

    /* Push body content up so the bar does not cover the footer */
    body { padding-bottom: 44px; }
    @supports (padding: max(0px)) {
        body { padding-bottom: max(64px, calc(56px + env(safe-area-inset-bottom))); }
    }

    /* Hide the legacy corner WhatsApp float on mobile (sticky bar replaces it) */
    .whatsapp-float { display: none !important; }
}

/* === TL;DR / summary boxes === */
.pb-tldr {
    max-width: 900px;
    margin: 0 auto 32px;
    padding: 24px 28px;
    background: #f5f0e6;
    border-left: 4px solid #c9a84c;
    border-radius: 4px;
}
.pb-tldr-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9a84c;
    margin: 0 0 12px;
}
.pb-tldr ul {
    margin: 0;
    padding-left: 1.1rem;
    list-style: disc;
}
.pb-tldr li {
    color: #1a2332;
    font-size: 0.97rem;
    line-height: 1.55;
    margin-bottom: 8px;
}
.pb-tldr li:last-child { margin-bottom: 0; }
.pb-tldr li ul { padding-left: 1.6rem; margin-top: 6px; margin-bottom: 6px; }
.pb-tldr-section {
    padding: 40px 0 0;
}
.pb-tldr-section .container { padding: 0 1.5rem; }
@media (max-width: 600px) {
    .pb-tldr { padding: 18px 20px; margin-bottom: 24px; }
    .pb-tldr li { font-size: 0.95rem; }
    .pb-tldr-section { padding: 24px 0 0; }
}

/* === Areas We Serve — icon enhancement === */
.featured-areas-section .area-card {
    position: relative;
    padding-top: 56px;
}
.area-card-icon {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    color: var(--pb-gold, #c9a84c);
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
}
.area-card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}
.area-card:hover .area-card-icon {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}
@media (max-width: 600px) {
    .featured-areas-section .area-card { padding-top: 44px; }
    .area-card-icon { width: 26px; height: 26px; top: 10px; }
}

/* === Footer enhancements === */
.footer-credentials {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.footer-credentials img {
    max-height: 36px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s;
    background: rgba(255,255,255,0.95);
    border-radius: 4px;
    padding: 4px 6px;
}
.footer-credentials img:hover { opacity: 1; }
.footer-social-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.3s;
}
.footer-social-icon:hover { background: rgba(255,255,255,0.2); }
.footer-social-icon svg { display: block; }
@media (max-width: 600px) {
    .footer-credentials img { max-height: 30px; }
}


/* === News split: read-more link + mobile related grid (27.04.2026 news split deploy) === */
.news-read-more {
    display: inline-block;
    margin-top: 8px;
    color: #c9a84c;
    font-weight: 600;
    text-decoration: none;
}
.news-read-more:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .news-related-grid { grid-template-columns: 1fr !important; }
}


/* === Mobile hero overlay fix (28.04.2026) === */
@media (max-width: 768px) {
    .hero {
        background: url('/property/wp-content/uploads/2026/04/ct-sunset-mobile.webp') center top / cover no-repeat !important;
    }
}
/* === Breadcrumbs === */
.pb-breadcrumbs { font-size: 0.8rem; color: #888; padding: 8px 0 0 0; max-width: 960px; margin: 0 auto; }
.pb-breadcrumbs a { color: #888; text-decoration: none; }
.pb-breadcrumbs a:hover { color: #1a2332; }


/* === Breadcrumbs === */
.pb-breadcrumbs { font-size: 0.8rem; color: #888; padding: 8px 0 0 0; max-width: 960px; margin: 0 auto; }
.pb-breadcrumbs a { color: #888; text-decoration: none; }
.pb-breadcrumbs a:hover { color: #1a2332; }

/* === Positioning section === */
.pb-positioning-section { padding: 60px 20px; background: #fff; text-align: center; }
.pb-positioning-inner { max-width: 960px; margin: 0 auto; }
.pb-positioning-section h2 { color: #1a2332; margin-bottom: 12px; }
.pb-positioning-intro { color: #555; margin-bottom: 40px; font-size: 1.05rem; }
.pb-positioning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: left; }
.pb-positioning-card { border-top: 3px solid #c9a84c; padding-top: 20px; }
.pb-positioning-card h3 { color: #1a2332; margin-bottom: 10px; font-size: 1rem; }
.pb-positioning-card p { color: #555; font-size: 0.9rem; line-height: 1.6; }
@media (max-width: 768px) { .pb-positioning-grid { grid-template-columns: 1fr; gap: 20px; } }

/* === Hero WebP background === */
.hero { background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.25)), url('/property/wp-content/uploads/2026/04/ct-sunset-desktop.webp') center/cover no-repeat; }

/* === Hero background: force override (29.04.2026, revised) === */
.hero {
    background-image: url('/property/wp-content/uploads/2026/04/ct-sunset-desktop.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
@media (max-width: 768px) {
    .hero {
        background-image: url('/property/wp-content/uploads/2026/04/ct-sunset-mobile.webp') !important;
        background-size: cover !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
    }
}

/* === Breadcrumb mobile font-size fix (29.04.2026) === */
@media (max-width: 768px) {
    .pb-breadcrumbs { font-size: 1rem; }
}

/* === Mobile hero layout fix (30.04.2026) === */
@media (max-width: 768px) {
    .hero {
        min-height: 600px;
        min-height: 100svh;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        padding: 4rem 1.5rem;
    }
    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
        text-align: center;
    }
    .hero p {
        display: block !important;
        text-align: center;
    }
}

/* === Sticky CTA pill buttons (30.04.2026) === */
@media (max-width: 768px) {
    .pb-sticky-cta {
        padding: 0.4rem 0.6rem;
        gap: 0.5rem;
        border-radius: 0;
    }
    .pb-sticky-cta__btn {
        padding: 0.35rem 0.75rem !important;
        font-size: 0.7rem !important;
        border-radius: 999px !important;
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
    }
    .pb-sticky-cta__btn svg {
        width: 14px !important;
        height: 14px !important;
    }
    body {
        padding-bottom: calc(44px + env(safe-area-inset-bottom)) !important;
    }
}

/* === Mobile menu bottom clearance (30.04.2026) === */
@media (max-width: 768px) {
    .primary-nav {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

/* === iOS form input font-size fix (01.05.2026) === */
@media (max-width: 768px) {
  input, select, textarea,
  .wpforms-field input, .wpforms-field select, .wpforms-field textarea,
  .epl-search-form input, .epl-search-form select {
    font-size: 16px !important;
  }
}