/*
Theme Name: MontrealHome
Theme URI: https://montrealhome.ca
Author: MontrealHome Agency
Author URI: https://montrealhome.ca
Description: Thème WordPress pour agent immobilier à Montréal. Design contemporain urbain avec couleurs brand rouge brique, typographie Space Grotesk + Inter, animations scroll reveal.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: montreal-home
Tags: real-estate, french, one-page, rental, montreal
*/

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

:root {
    --brand-red: #C0392B;
    --brand-red-dark: #96281B;
    --brand-red-light: #E74C3C;
    --brand-dark: #111827;
    --brand-warm-gray: #F5F4F0;
    --brand-mid-gray: #6B7280;
    --radius: 0.75rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #111827;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

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

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

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
        max-width: 1440px;
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--brand-red);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.btn-brand:hover {
    background-color: var(--brand-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(192, 57, 43, 0.35);
    color: #fff;
}

.btn-brand:active {
    transform: translateY(0);
}

.btn-brand i {
    font-size: 0.875rem;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-450 { transition-delay: 0.45s; }
.delay-500 { transition-delay: 0.5s; }

/* ============================================================
   BADGES
   ============================================================ */
.badge-verified {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
}

.badge-tag {
    background-color: var(--brand-red);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.section-eyebrow .eyebrow-line {
    width: 2rem;
    height: 1px;
    background-color: var(--brand-red);
    flex-shrink: 0;
}

.section-eyebrow span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-red);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
    border-bottom: 1px solid #f3f4f6;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 1024px) {
    .navbar-inner {
        height: 5rem;
    }
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.navbar-logo .logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background-color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.navbar-logo .logo-icon i {
    color: white;
    font-size: 0.875rem;
}

.navbar-logo .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111827;
}

.navbar-logo .logo-text .accent {
    color: var(--brand-red);
}

/* Desktop nav links */
.navbar-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .navbar-nav {
        display: flex;
    }
}

.navbar-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-red);
    transition: width 0.3s ease;
}

.navbar-nav a:hover {
    color: #111827;
}

.navbar-nav a:hover::after {
    width: 100%;
}

/* Desktop CTA */
.navbar-cta {
    display: none;
}

@media (min-width: 1024px) {
    .navbar-cta {
        display: flex;
        align-items: center;
    }
}

/* Mobile toggle */
.navbar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    color: #4b5563;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.navbar-toggle:hover {
    background-color: #f3f4f6;
}

@media (min-width: 1024px) {
    .navbar-toggle {
        display: none;
    }
}

/* Mobile menu */
.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #f3f4f6;
    padding: 1rem 0;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    border-radius: 0.5rem;
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
}

.mobile-menu a:hover {
    background-color: #f9fafb;
    color: #111827;
}

.mobile-menu .mobile-cta {
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.mobile-menu .mobile-cta .btn-brand {
    width: 100%;
    padding: 0.75rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663496345038/QjkbRks3HqQSUxsMRCDKKG/hero-apartment-MxfofS5qBB4cdYVRPQvz5x.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(10,14,23,0.82) 0%, rgba(10,14,23,0.65) 50%, rgba(10,14,23,0.35) 100%);
}

.hero-red-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--brand-red);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 6rem;
    padding-bottom: 4rem;
    width: 100%;
}

.hero-inner {
    max-width: 48rem;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-eyebrow .line {
    width: 2rem;
    height: 1px;
    background-color: #ef4444;
}

.hero-eyebrow span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #f87171;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title .accent {
    color: var(--brand-red-light);
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 2.5rem;
    max-width: 36rem;
    line-height: 1.75;
}

/* Search bar */
.hero-search {
    background: white;
    border-radius: 1rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 42rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-search {
        flex-direction: row;
    }
}

.search-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
    border: 1px solid transparent;
}

.search-field:hover {
    background-color: #f9fafb;
    border-color: #e5e7eb;
}

.search-field i {
    color: var(--brand-red);
    flex-shrink: 0;
    font-size: 0.875rem;
}

.search-field .field-body {
    flex: 1;
    min-width: 0;
}

.search-field label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 2px;
    cursor: pointer;
}

.search-field input,
.search-field select {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #111827;
    background: transparent;
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.search-field input::placeholder {
    color: #9ca3af;
}

.search-divider {
    display: none;
    width: 1px;
    background-color: #e5e7eb;
    margin: 0.5rem 0;
}

@media (min-width: 1024px) {
    .search-divider {
        display: block;
    }
}

.search-field-sm {
    min-width: 0;
}

@media (min-width: 1024px) {
    .search-field-sm {
        width: 11rem;
    }
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    padding-right: 1rem;
}

.select-wrapper i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.7rem;
    pointer-events: none;
}

.hero-search .btn-brand {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    white-space: nowrap;
    font-size: 0.875rem;
}

/* Hero stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.hero-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.hero-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-indicator .indicator-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   LISTINGS SECTION
   ============================================================ */
#listings {
    padding: 6rem 0;
    background: white;
}

.listings-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3.5rem;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .listings-header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.listings-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .listings-title {
        font-size: 3rem;
    }
}

.listings-title .muted {
    color: #9ca3af;
}

.listings-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    max-width: 20rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.listings-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: none;
    transition: gap 0.2s;
}

.listings-link:hover {
    gap: 0.75rem;
    color: var(--brand-red);
}

.listings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .listings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Property Card */
.property-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
    display: block;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.property-card-image {
    position: relative;
    height: 14rem;
    overflow: hidden;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.property-card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.property-card-body {
    padding: 1.25rem;
}

.property-card-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.property-card-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6b7280;
}

.property-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.property-card-location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.property-card-location i {
    color: var(--brand-red);
    font-size: 0.75rem;
}

.property-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.property-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #4b5563;
}

.property-meta-item i {
    color: #9ca3af;
    font-size: 0.75rem;
}

.property-card-type {
    margin-left: auto;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #f9fafb;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Listings CTA */
.listings-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
#why-us {
    padding: 6rem 0;
    background-color: var(--brand-warm-gray);
    position: relative;
    overflow: hidden;
}

.why-us-bg-text {
    position: absolute;
    top: -1rem;
    right: -2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(192, 57, 43, 0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    display: none;
}

@media (min-width: 1024px) {
    .why-us-bg-text {
        display: block;
    }
}

.why-us-header {
    max-width: 42rem;
    margin-bottom: 4rem;
}

.why-us-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .why-us-title {
        font-size: 3rem;
    }
}

.why-us-title .accent {
    color: var(--brand-red);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    transition: width 0.5s ease;
    border-radius: 0 0 4px 4px;
}

.value-card:hover::after {
    width: 100%;
}

.value-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.value-card:hover .value-card-icon {
    transform: scale(1.1);
}

.value-card-icon i {
    font-size: 1.25rem;
}

.value-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.value-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.75;
}

/* Trust stats */
.trust-stats {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.trust-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--brand-red);
    margin-bottom: 0.25rem;
    text-align: center;
}

.trust-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
#how-it-works {
    padding: 6rem 0;
    background: white;
    overflow: hidden;
}

.how-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 5rem;
}

.how-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.how-eyebrow .line {
    width: 2rem;
    height: 1px;
    background-color: var(--brand-red);
}

.how-eyebrow span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-red);
}

.how-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .how-title {
        font-size: 3rem;
    }
}

.how-title .accent {
    color: var(--brand-red);
}

.steps-container {
    position: relative;
}

.steps-line {
    display: none;
    position: absolute;
    top: 4rem;
    left: calc(16.67% + 2rem);
    right: calc(16.67% + 2rem);
    height: 1px;
    background: linear-gradient(to right, var(--brand-red), #0F3460, #27AE60);
}

@media (min-width: 1024px) {
    .steps-line {
        display: block;
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 1024px) {
    .step-item {
        align-items: flex-start;
        text-align: left;
    }
}

.step-icon-wrap {
    position: relative;
    margin-bottom: 2rem;
}

.step-number-bg {
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(0,0,0,0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.step-icon {
    position: relative;
    z-index: 1;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.step-icon i {
    color: white;
    font-size: 1.375rem;
}

.step-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    border: 2px solid white;
}

.step-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.75;
}

.how-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
#testimonials {
    padding: 6rem 0;
    background-color: #111827;
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background: radial-gradient(circle at 25% 25%, var(--brand-red) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, var(--brand-red) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.testimonials-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.testimonials-eyebrow .line {
    width: 2rem;
    height: 1px;
    background-color: #ef4444;
}

.testimonials-eyebrow span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #f87171;
}

.testimonials-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .testimonials-title {
        font-size: 3rem;
    }
}

.testimonials-title .accent {
    color: var(--brand-red-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 1.75rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    border-color: rgba(192, 57, 43, 0.3);
}

.testimonial-quote-icon {
    color: var(--brand-red);
    opacity: 0.3;
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.testimonial-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #facc15;
    font-size: 0.875rem;
}

.testimonial-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #d1d5db;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    outline: 2px solid rgba(192, 57, 43, 0.3);
    outline-offset: 2px;
}

.testimonial-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.testimonial-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #6b7280;
}

.testimonials-trust-bar {
    margin-top: 4rem;
    text-align: center;
}

.trust-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.trust-stars i {
    color: #facc15;
    font-size: 1.25rem;
}

.trust-bar-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #9ca3af;
}

.trust-bar-text strong {
    color: white;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
    padding: 6rem 0;
    background-color: var(--brand-warm-gray);
    position: relative;
    overflow: hidden;
}

.contact-top-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--brand-red);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .contact-title {
        font-size: 3rem;
    }
}

.contact-title .accent {
    color: var(--brand-red);
}

.contact-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.contact-info-item:hover .contact-info-icon {
    transform: scale(1.1);
}

.contact-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #fef2f2;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.contact-info-icon i {
    color: var(--brand-red);
    font-size: 0.875rem;
}

.contact-info-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 2px;
}

.contact-info-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #374151;
    transition: color 0.2s;
}

.contact-info-item:hover .contact-info-value {
    color: #111827;
}

/* Contact Form */
.contact-form-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    border: 1px solid #f3f4f6;
}

.contact-form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.contact-form-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #111827;
    background: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control:focus {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

textarea.form-control {
    resize: none;
}

.form-submit {
    width: 100%;
    padding: 0.875rem;
    font-size: 0.9375rem;
    border-radius: 0.75rem;
}

.form-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 0.75rem;
}

/* Form success state */
.form-success {
    text-align: center;
    padding: 2rem 1rem;
}

.form-success-icon {
    width: 4rem;
    height: 4rem;
    background-color: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.form-success-icon i {
    color: #22c55e;
    font-size: 1.75rem;
}

.form-success-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.form-success-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
    background-color: #0D1117;
}

.footer-main {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background-color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-icon i {
    color: white;
    font-size: 0.875rem;
}

.footer-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-logo-text .accent {
    color: var(--brand-red-light);
}

.footer-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-link {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.social-link:hover {
    color: white;
    border-color: var(--brand-red);
    background-color: rgba(192, 57, 43, 0.1);
}

.social-link i {
    font-size: 0.875rem;
}

.footer-col-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-links span {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
    display: inline-block;
}

.footer-links a:hover,
.footer-links span:hover {
    color: white;
}

.footer-contact-item {
    margin-bottom: 1rem;
}

.footer-contact-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4b5563;
    margin-bottom: 2px;
}

.footer-contact-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-value:hover {
    color: white;
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-inner {
    padding: 1.25rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .footer-bottom-inner {
        flex-direction: row;
    }
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #4b5563;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-legal a {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #d1d5db;
}

/* ============================================================
   LISTINGS PAGE (page-listings.php)
   ============================================================ */
.page-hero {
    padding: 8rem 0 4rem;
    background-color: var(--brand-dark);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(192, 57, 43, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero .page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .page-hero h1 {
        font-size: 3.5rem;
    }
}

.page-hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #9ca3af;
}

/* Filters */
.filters-bar {
    background: white;
    border-bottom: 1px solid #f3f4f6;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filters-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.filter-select {
    padding: 0.5rem 2rem 0.5rem 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #374151;
    background: white;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.625rem center;
    transition: border-color 0.2s;
}

.filter-select:focus {
    border-color: var(--brand-red);
}

/* All listings page body */
.listings-page-body {
    padding: 3rem 0 5rem;
    background: #f9fafb;
    min-height: 50vh;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-warm-gray);
}

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

.page-404-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 8rem;
    font-weight: 700;
    color: var(--brand-red);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.15;
}

.page-404-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.page-404-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

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