/* ============================================
   Newlon Properties - Modern Upscale Styles
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-navy: #6080BF;
    --primary-blue: #A7BDD9;
    --accent-gold: #d4af37;
    --detail-color: #4e4e4e;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-navy);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-navy);
}

/* Properties flyout menu */
.nav-dropdown {
    position: relative;
}

.nav-flyout {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 4px;
    padding: var(--spacing-xs) 0;
    min-width: 180px;
    background: var(--bg-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
}

.nav-dropdown:hover .nav-flyout {
    opacity: 1;
    visibility: visible;
}

.nav-flyout li {
    margin: 0;
}

.nav-flyout a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-dark);
    white-space: nowrap;
}

.nav-flyout a:hover {
    background: var(--bg-light);
    color: var(--primary-navy);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--bg-white);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../image-assets/6-justin-cleaned-kitchen.png') center/cover no-repeat;
    opacity: 1;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-navy);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    z-index: 4;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: var(--spacing-lg);
}

.hero-title {
    font-family: 'Alex Brush', cursive;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: var(--spacing-xs);
    color: var(--bg-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
}

.hero-phone {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    letter-spacing: 1px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--detail-color) 0%, #3a3a3a 100%);
    color: var(--bg-white);
    letter-spacing: 0.5px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(78, 78, 78, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a3a3a 0%, var(--detail-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 78, 78, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-navy);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 128, 191, 0.3);
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

section::before,
section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--detail-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
    z-index: 1;
}

section::before {
    top: 0;
}

section::after {
    bottom: 0;
}

/* Hero section uses ::before for background image, exclude from section border rules */
.hero::before {
    background: url('../image-assets/6-justin-cleaned-kitchen.png') center/cover no-repeat !important;
    opacity: 1 !important;
    z-index: 1 !important;
    height: 100% !important;
    box-shadow: none !important;
    bottom: 0 !important;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.5px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.decorative-underline {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    margin-top: -0.5rem;
    opacity: 0.8;
}

.decorative-underline img {
    max-width: 100%;
    height: auto;
    max-width: 330px;
    transform: scale(1.1);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ============================================
   About Section
   ============================================ */

.about-section {
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--detail-color);
    box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.35);
}

.about-section .container {
    position: relative;
    z-index: 1;
}

/* Bottom border - override section::after */
.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--detail-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
}

.agent-image-wrapper {
    position: relative;
    display: inline-block;
}

.agent-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--bg-white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: block;
}

.agent-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + 5px), calc(-50% + 5px));
    width: 378px;
    height: 378px;
    object-fit: contain;
    pointer-events: none;
    z-index: 2;
}

.agent-info {
    text-align: center;
}

.agent-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.agent-title {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.about-text p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ============================================
   Properties Section
   ============================================ */

.properties-section {
    background: linear-gradient(135deg, rgba(78, 78, 78, 0.6) 0%, rgba(58, 58, 58, 0.6) 100%);
}

.properties-section .section-header h2 {
    color: var(--bg-white);
}

.properties-section .section-subtitle {
    color: var(--bg-white);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.property-card {
    background: var(--bg-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(96, 128, 191, 0.05);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(96, 128, 191, 0.2);
    border-color: rgba(96, 128, 191, 0.1);
}

.property-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.property-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(96, 128, 191, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.property-card:hover .property-image::after {
    opacity: 1;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 6 Justin portrait: contain to avoid cropping, with background for letterboxing */
.property-card--6justin .property-image {
    background: var(--bg-light);
}
.property-card--6justin .property-image img {
    object-fit: contain;
    object-position: center top;
}

.property-content {
    padding: var(--spacing-md);
}

.property-coming-soon {
    font-size: 0.95rem;
    margin: 0 0 var(--spacing-xs);
    padding: 0;
}

.property-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--detail-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.property-location {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.property-description {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* ============================================
   Property Detail Pages
   ============================================ */

.page-hero {
    background: var(--primary-navy);
    color: var(--bg-white);
    padding: var(--spacing-lg) 0;
    text-align: center;
    position: relative;
}

.page-hero::before,
.page-hero::after {
    background: var(--detail-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.property-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.property-hero-image {
    width: 100%;
    height: 100%;
}

.property-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--bg-white);
    padding: var(--spacing-md);
}

.property-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.property-details {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.property-details-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.property-main h2 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.property-main h3 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.property-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.feature-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.feature-list li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
    font-size: 1.05rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.property-specs {
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 8px;
}

.spec-item {
    display: flex;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--primary-navy);
    min-width: 120px;
}

.spec-value {
    color: var(--text-dark);
}

.inquiry-box {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    position: sticky;
    top: 100px;
}

.inquiry-box h3 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    margin-bottom: var(--spacing-sm);
}

.inquiry-box p {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    align-items: stretch;
}

.contact-section .home-contact-form-wrapper {
    min-height: 400px;
}

.privacy-policy-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.privacy-policy-content {
    max-width: 720px;
    margin: 0 auto;
}

.privacy-policy-content h2 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.privacy-policy-content h3 {
    font-size: 1.15rem;
    color: var(--primary-navy);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.privacy-policy-content p,
.privacy-policy-content li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.privacy-policy-content ul {
    margin: var(--spacing-sm) 0 var(--spacing-md);
    padding-left: 1.5rem;
}

.privacy-policy-content a {
    color: var(--primary-navy);
    text-decoration: underline;
}

.privacy-policy-content a:hover {
    text-decoration: none;
}

.contact-info h2 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.contact-details {
    margin-top: var(--spacing-md);
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-item h3 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.contact-item p {
    color: var(--text-dark);
    font-size: 1.05rem;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: var(--spacing-sm);
    border-radius: 4px;
    margin-top: var(--spacing-sm);
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ============================================
   Home Contact Section
   ============================================ */

.home-contact-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Remove section borders for home contact section */
.home-contact-section::before,
.home-contact-section::after {
    display: none;
}

.home-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.home-contact-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.home-contact-image img {
    width: 108%;
    height: auto;
    object-fit: contain;
}

.home-contact-form-wrapper {
    background: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.home-contact-form-container {
    width: 100%;
    max-width: 500px;
}

.home-contact-form-container h2 {
    font-family: 'Alex Brush', cursive;
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 1px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.home-contact-form-container .decorative-underline img {
    filter: brightness(0) invert(1);
}

.icon-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.envelope-icon {
    color: var(--bg-white);
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-to-form {
    color: var(--bg-white);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.arrow-to-form svg {
    transform: scale(0.8) rotate(0deg) !important;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(0.8) rotate(0deg) translateY(0) !important;
    }
    50% {
        transform: scale(0.8) rotate(0deg) translateY(5px) !important;
    }
}

.home-contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.home-contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.home-contact-form .form-group label {
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.home-contact-form .form-group input,
.home-contact-form .form-group select,
.home-contact-form .form-group textarea {
    padding: 12px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-dark);
}

.home-contact-form .form-group input:focus,
.home-contact-form .form-group select:focus,
.home-contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.home-contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.home-contact-form .form-group .g-recaptcha {
    margin-top: var(--spacing-sm);
}

.home-contact-form .form-message {
    padding: var(--spacing-sm);
    border-radius: 4px;
    margin-top: var(--spacing-sm);
    display: none;
}

.home-contact-form .form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.home-contact-form .form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ============================================
   Property Listing Page (e.g. 6 Justin Court)
   ============================================ */

.listing-header {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background: var(--bg-white);
    border-bottom: 2px solid var(--detail-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.listing-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-navy);
    text-align: center;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Listing details content band (below hero): left = key details, right = description */
.listing-details-band {
    padding: var(--spacing-lg) var(--spacing-sm);
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.listing-details-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: var(--spacing-xl);
    align-items: start;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.listing-details-left {
    position: sticky;
    top: var(--spacing-md);
}

.listing-details-title {
    font-family: 'Alex Brush', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-navy);
    margin: 0 0 var(--spacing-xs);
    letter-spacing: 1px;
}

.listing-details-address {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0 0 var(--spacing-md);
    letter-spacing: 0.3px;
}

.listing-details-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    list-style: none;
    margin: 0 0 var(--spacing-md);
    padding: 0;
}

.listing-details-stats li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.listing-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.2;
}

.listing-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: lowercase;
}

.listing-details-meta {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.listing-details-meta span:not(:last-child)::after {
    content: ' · ';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.listing-cta-block {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.listing-details-left .listing-cta {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 var(--spacing-sm) !important;
}

.listing-details-left .listing-cta-button {
    display: block;
    text-align: center;
}

/* Right column: full description - blue gradient, white text (matches home contact form) */
.listing-coming-soon {
    color: var(--bg-white);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-xs);
}

.listing-details-right {
    position: relative;
    min-width: 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.listing-details-right::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px solid white;
    border-radius: 4px;
    pointer-events: none;
}

.listing-headline {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--bg-white);
    margin: 0 0 var(--spacing-sm);
    line-height: 1.35;
}

.listing-address-price {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 var(--spacing-md);
}

.listing-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--bg-white);
    margin: 0 0 var(--spacing-md);
}

.listing-details-right p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bg-white);
    margin: 0 0 var(--spacing-md);
}

.listing-subhead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-white);
    margin: var(--spacing-md) 0 var(--spacing-xs);
}

.listing-subhead:first-of-type {
    margin-top: 0;
}

.listing-highlights {
    list-style: none;
    margin: 0 0 var(--spacing-md);
    padding: 0;
}

.listing-highlights li {
    padding: 0.25rem 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--bg-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.listing-highlights li:last-child {
    border-bottom: none;
}

.listing-details-right strong {
    color: var(--bg-white);
}

.listing-cta {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: var(--spacing-md) 0 var(--spacing-sm) !important;
}

.listing-cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-navy);
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
}

.listing-cta-button:hover {
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .listing-details-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .listing-details-left {
        position: static;
    }

    .hero-strip-item {
        min-height: 280px;
        max-height: 55vh;
    }
}

/* Hero image strip: stitched side-by-side, smooth scroll */
.listing-hero-strip {
    background: #1a1a1a;
    padding: 0;
}

.hero-strip-outer {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 100%;
}

.hero-strip-track {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero-strip-track::-webkit-scrollbar {
    display: none;
}

.hero-strip-inner {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    min-height: 0;
}

.hero-strip-item {
    flex: 0 0 auto;
    height: 68vh;
    min-height: 380px;
    max-height: 680px;
    background: #2a2a2a;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-strip-item img {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    display: block;
    vertical-align: bottom;
}

.hero-strip-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin: 0 4px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.hero-strip-arrow:hover {
    background: #fff;
    transform: scale(1.06);
}

.hero-strip-arrow:active {
    transform: scale(0.98);
}

.property-gallery-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.property-gallery {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-main {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: var(--spacing-md);
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
}

.gallery-main img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 560px;
    vertical-align: bottom;
}

.gallery-thumbs-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    width: fit-content;
    max-width: min(1000px, 100%);
}

.gallery-scroll-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 2px solid var(--primary-navy);
    background: var(--bg-white);
    color: var(--primary-navy);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-scroll-btn:hover {
    background: var(--primary-navy);
    color: var(--bg-white);
}

.gallery-thumbs {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: var(--spacing-xs) 0;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 880px;
    scrollbar-width: thin;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 8px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

.gallery-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.gallery-thumb:hover {
    border-color: var(--primary-blue);
    opacity: 0.9;
}

.gallery-thumb.active {
    border-color: var(--primary-navy);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--detail-color);
    color: var(--bg-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    color: var(--bg-white);
}

.footer-logo h3 {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.footer-address {
    color: var(--bg-white);
    font-size: 0.95rem;
    margin: var(--spacing-xs) 0 0;
    opacity: 0.95;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: var(--bg-white);
}

.footer-bottom p {
    color: var(--bg-white);
    margin: 0.25rem 0;
}

.footer-eho {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer-eho img {
    vertical-align: middle;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: var(--spacing-md) 0;
        gap: var(--spacing-sm);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-flyout {
        position: static;
        transform: none;
        margin-top: var(--spacing-xs);
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: var(--spacing-md);
    }

    .nav-flyout a {
        color: var(--primary-navy);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .property-details-wrapper {
        grid-template-columns: 1fr;
    }

    .inquiry-box {
        position: static;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .home-contact-wrapper {
        grid-template-columns: 1fr;
    }

    .home-contact-image {
        min-height: 300px;
    }

    .home-contact-form-wrapper {
        padding: var(--spacing-lg);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 2rem;
    }

    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-strip-item {
        min-height: 240px;
        max-height: 50vh;
    }
}
