/* ==========================================================================
   REAL ESTATE ENHANCED THEME — SOLVEVARE BRAND SYSTEM (POLISHED & REFINED)
   Fully aligned with Solvevare dark system (#0a0a0c, #121217, #5E0ED7)
   Includes organic ambient glows, glass shines, smooth transitions, and exact layout spacing.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. BRAND THEME TOKENS
   -------------------------------------------------------------------------- */
:root {
    --color-bg-dark: #0a0a0c;
    --color-bg-surface: #121217;
    --color-bg-surface-hover: #181822;
    --color-accent-purple: #5E0ED7;
    --color-accent-purple-hover: #731bf0;
    --color-accent-purple-glow: rgba(94, 14, 215, 0.25);
    --color-accent-purple-subtle: rgba(94, 14, 215, 0.12);
    
    --color-text-white: #ffffff;
    --color-text-subtle: #a0a0b0;
    --color-text-muted: #62627a;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-purple: rgba(94, 14, 215, 0.35);
    
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

*:focus-visible {
    outline: 2px solid var(--color-accent-purple);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   02. CONTAINER & SECTION SPACING RHYTHM
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.ghl-feature-section {
    padding: 6.5rem 0;
    position: relative;
    background: var(--color-bg-dark);
}

.ghl-feature-section.alt-bg {
    background: #0d0d10;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    margin-bottom: 3.75rem;
    position: relative;
    z-index: 2;
}

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

.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-purple);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text-white);
    letter-spacing: -0.02em;
}

.section-title span {
    color: var(--color-accent-purple);
}

/* --------------------------------------------------------------------------
   03. HERO SECTION WITH NATURAL AMBIENT LIGHTING
   -------------------------------------------------------------------------- */
.hero-section {
    padding-top: calc(var(--header-height, 80px) + 3.5rem);
    padding-bottom: 5.5rem;
    background: var(--color-bg-dark);
    position: relative;
}

.ghl-hero-bg {
    position: relative;
    overflow: hidden;
}

/* Organic background backlight glow */
.ghl-hero-bg::before {
    content: '';
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(circle at 50% 0%, rgba(94, 14, 215, 0.18) 0%, rgba(10, 10, 12, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.sub-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
}

.eyebrow-line {
    width: 28px;
    height: 2px;
    background: var(--color-accent-purple);
    border-radius: 2px;
}

.eyebrow-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-purple);
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--color-text-white);
    opacity: 0;
    animation: heroTitleReveal 0.9s var(--ease-premium) 0.4s forwards;
}

.text-gradient-purple {
    color: var(--color-accent-purple);
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 40%, #5E0ED7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes heroTitleReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub-hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text-subtle);
    max-width: 720px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 2.25rem;
    border-radius: 8px;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s var(--ease-premium);
    border: none;
    cursor: pointer;
    min-height: 50px;
}

.btn-primary {
    background: var(--color-accent-purple);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--color-accent-purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(94, 14, 215, 0.35);
}

.btn-secondary {
    background: var(--color-bg-surface);
    color: var(--color-text-white);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--border-purple);
    background: var(--color-bg-surface-hover);
    transform: translateY(-2px);
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.6rem;
    background: var(--color-bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.35s var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-accent-purple);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    background: var(--color-bg-surface-hover);
    border-color: var(--border-purple);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(94, 14, 215, 0.15);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-accent-purple);
    letter-spacing: -0.02em;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-value {
    transform: translateX(2px);
}

.stat-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-subtle);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   04. STATE CONTEXT SECTION
   -------------------------------------------------------------------------- */
.state-context-section {
    padding: 5rem 0;
    background: var(--color-bg-dark);
    position: relative;
}

.state-context-card {
    padding: 3.25rem 2.75rem;
    background: var(--color-bg-surface);
    border: 1px solid var(--border-purple);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.state-context-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(94, 14, 215, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.state-context-card .section-header {
    margin-bottom: 1.5rem;
    text-align: left;
}

.state-context-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-subtle);
    margin-bottom: 2rem;
}

.state-intake {
    padding: 1.5rem 1.75rem;
    background: rgba(94, 14, 215, 0.08);
    border: 1px solid rgba(94, 14, 215, 0.2);
    border-left: 4px solid var(--color-accent-purple);
    border-radius: 10px;
}

.state-intake h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 0.5rem;
}

.state-intake p {
    font-size: 0.95rem;
    color: var(--color-text-subtle);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   05. 4-STAGE PIPELINE CARDS (PERFECT 4-COLUMN HORIZONTAL FLOW)
   -------------------------------------------------------------------------- */
.pipeline-4-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem;
}

.pipeline-4-grid .capability-card {
    position: relative;
    padding: 2.25rem 1.6rem;
    background: var(--color-bg-surface);
    border: 1px solid var(--border-subtle);
    border-top: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.35s var(--ease-premium);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    opacity: 1;
}

.pipeline-4-grid .capability-card:hover {
    background: var(--color-bg-surface-hover);
    border-color: var(--border-purple);
    border-top-color: var(--color-accent-purple);
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(94, 14, 215, 0.15);
}

/* Pipeline Flow Arrow between Cards on Desktop */
.pipeline-4-grid .capability-card::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -1.15rem;
    transform: translateY(-50%);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-accent-purple);
    background: var(--color-bg-dark);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-purple);
    box-shadow: 0 0 10px rgba(94, 14, 215, 0.25);
    z-index: 5;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.pipeline-4-grid .capability-card:hover::after {
    transform: translateY(-50%) scale(1.1);
}

.pipeline-4-grid .capability-card:last-child::after {
    display: none;
}

.ghl-service-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #a5b4fc;
    background: rgba(94, 14, 215, 0.12);
    border: 1px solid rgba(94, 14, 215, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    width: fit-content;
    transition: all 0.3s ease;
}

.capability-card:hover .ghl-service-num {
    background: rgba(94, 14, 215, 0.22);
    border-color: var(--color-accent-purple);
    color: #ffffff;
}

.ghl-service-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.ghl-service-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text-subtle);
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   06. MATRIX GRID (OPERATING CYCLE CARDS)
   -------------------------------------------------------------------------- */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.matrix-card {
    padding: 2.25rem;
    border-radius: 16px;
    background: var(--color-bg-surface);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--color-accent-purple);
    transition: all 0.35s var(--ease-premium);
    opacity: 1;
}

.matrix-card.problem {
    border-left-color: rgba(239, 68, 68, 0.6);
}

.matrix-card.solution {
    border-left-color: var(--color-accent-purple);
}

.matrix-card:hover {
    background: var(--color-bg-surface-hover);
    border-color: var(--border-purple);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.matrix-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-text-white);
}

.matrix-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.matrix-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--color-text-subtle);
    opacity: 1;
}

.matrix-list li span:last-child {
    flex: 1;
}

.matrix-issue-icon::before {
    content: '✕';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.matrix-solution-icon::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(94, 14, 215, 0.15);
    color: #a5b4fc;
    border: 1px solid rgba(94, 14, 215, 0.3);
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform 0.25s ease;
}

.matrix-card:hover .matrix-solution-icon::before {
    transform: scale(1.1);
    color: #ffffff;
    background: rgba(94, 14, 215, 0.3);
}

/* --------------------------------------------------------------------------
   07. 6 AUTOMATION ENGINE MODULES GRID
   -------------------------------------------------------------------------- */
.ghl-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ghl-services-grid .capability-card {
    padding: 2.25rem 1.75rem;
    background: var(--color-bg-surface);
    border: 1px solid var(--border-subtle);
    border-top: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.35s var(--ease-premium);
    display: flex;
    flex-direction: column;
    opacity: 1;
}

.ghl-services-grid .capability-card:hover {
    background: var(--color-bg-surface-hover);
    border-color: var(--border-purple);
    border-top-color: var(--color-accent-purple);
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(94, 14, 215, 0.12);
}

/* --------------------------------------------------------------------------
   07B. FAQ ACCORDION SYSTEM (SMOOTH GRID/TRANSITION ANIMATION)
   -------------------------------------------------------------------------- */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.35s var(--ease-premium), background-color 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}

.faq-item:hover {
    border-color: var(--border-purple);
    background: var(--color-bg-surface-hover);
}

.faq-item.active {
    border-color: var(--border-purple);
    background: var(--color-bg-surface-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(94, 14, 215, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.85rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text-white);
    font-size: 1.08rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    gap: 1.25rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #ffffff;
}

.faq-item.active .faq-question {
    color: #ffffff;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(94, 14, 215, 0.12);
    border: 1px solid rgba(94, 14, 215, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ease-premium), background 0.3s ease, border-color 0.3s ease;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background: #a5b4fc;
    border-radius: 2px;
    transition: transform 0.4s var(--ease-premium), background 0.3s ease;
}

/* Horizontal line */
.faq-toggle-icon::before {
    width: 12px;
    height: 2px;
}

/* Vertical line */
.faq-toggle-icon::after {
    width: 2px;
    height: 12px;
}

.faq-item:hover .faq-toggle-icon {
    background: rgba(94, 14, 215, 0.25);
    border-color: var(--color-accent-purple);
}

.faq-item:hover .faq-toggle-icon::before,
.faq-item:hover .faq-toggle-icon::after {
    background: #ffffff;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(135deg);
    background: var(--color-accent-purple);
    border-color: var(--color-accent-purple);
}

.faq-item.active .faq-toggle-icon::before,
.faq-item.active .faq-toggle-icon::after {
    background: #ffffff;
}

/* Smooth Accordion Expansion via CSS Grid (Zero-Jank Smooth Animation) */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease-premium), padding 0.35s var(--ease-premium);
    overflow: hidden;
    padding: 0 1.85rem;
}

.faq-answer p {
    min-height: 0;
    overflow: hidden;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--color-text-subtle);
    margin: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    padding: 0 1.85rem 1.6rem 1.85rem;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   08. CTA BANNER SECTION
   -------------------------------------------------------------------------- */
.ghl-cta-section {
    position: relative;
    padding: 5rem 0 6rem 0;
    background: var(--color-bg-dark);
}

.cta-banner-glass {
    position: relative;
    z-index: 2;
    padding: 4rem 3rem;
    background: var(--color-bg-surface);
    border: 1px solid var(--border-purple);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(94, 14, 215, 0.15);
    opacity: 1;
    overflow: hidden;
}

.cta-banner-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 350px;
    background: radial-gradient(circle, rgba(94, 14, 215, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-purple);
    margin-bottom: 1.25rem;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--color-text-white);
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.cta-desc {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--color-text-subtle);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

/* --------------------------------------------------------------------------
   09. FOOTER PRE-CTA & FOOTER STYLING
   -------------------------------------------------------------------------- */
.footer-pre-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--color-bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.75rem 3rem;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.footer-pre-cta-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 0.65rem;
}

.footer-pre-cta-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--color-text-subtle);
}

.btn-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent-purple);
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.btn-footer-cta svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.btn-footer-cta:hover {
    background: var(--color-accent-purple-hover);
    transform: translateY(-1px);
}

.section-intro {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-subtle);
    max-width: 820px;
    margin: 1rem auto 0;
}

.state-card-copy {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--color-text-subtle);
    margin: 0;
}

.ghl-feature-section .matrix-list li,
.ghl-feature-section .ghl-service-desc,
.ghl-feature-section .section-intro,
.ghl-feature-section .state-card-copy {
    color: #c5c5d0;
}

.ghl-feature-section .matrix-card-title,
.ghl-feature-section .ghl-service-name,
.ghl-feature-section .section-title {
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand .logo {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-subtle);
    max-width: 290px;
}

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

.footer-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-purple);
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    font-size: 0.95rem;
    color: var(--color-text-subtle);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links-group a:hover, .footer-links-group a.active {
    color: var(--color-accent-purple);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1rem;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

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

.footer-legal-links a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-legal-links a:hover {
    color: var(--color-accent-purple);
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .pipeline-4-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }

    .pipeline-4-grid .capability-card::after {
        display: none;
    }

    .ghl-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-pre-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2.25rem 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-section {
        padding-top: calc(var(--header-height, 64px) + 1.5rem);
        padding-bottom: 3.5rem;
    }

    .ghl-feature-section {
        padding: 3.5rem 0;
    }

    .sub-hero-eyebrow {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .sub-hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.85rem;
        margin-bottom: 2.5rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 0.95rem 1.5rem;
    }

    .hero-stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .state-context-section {
        padding: 3rem 0;
    }

    .state-context-card {
        padding: 2rem 1.35rem;
        border-radius: 12px;
    }

    .state-context-card p {
        font-size: 0.98rem;
    }

    .state-intake {
        padding: 1.25rem;
    }

    .pipeline-4-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .matrix-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .matrix-card {
        padding: 1.75rem 1.35rem;
    }

    .ghl-services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .ghl-services-grid .capability-card {
        padding: 1.75rem 1.35rem;
    }

    .faq-question {
        padding: 1.2rem 1.25rem;
        font-size: 0.98rem;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    .cta-banner-glass {
        padding: 2.5rem 1.25rem;
    }

    .cta-desc {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }

    .btn-large {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer-pre-cta {
        padding: 1.75rem 1.25rem;
        margin-bottom: 2.5rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-legal-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   REAL ESTATE — ADDITIONAL COMPONENT STYLES
   -------------------------------------------------------------------------- */

/* Problem card red left border */
.matrix-card.problem {
    border-left-color: rgba(239, 68, 68, 0.55);
}

.matrix-card.solution {
    border-left-color: var(--color-accent-purple);
}

/* Problem icon (red X) */
.matrix-issue-icon::before {
    content: '\00D7';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* matrix-list li text span */
.matrix-list li span:last-child {
    flex: 1;
}

/* State context section subtitle */
.section-intro {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-subtle);
    max-width: 820px;
    margin: 1rem auto 0;
}

/* State card body copy */
.state-card-copy {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--color-text-subtle);
    margin: 0;
}

/* Footer pre-CTA compact button */
.btn-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 1.4rem;
    background: var(--color-accent-purple);
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-footer-cta svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.btn-footer-cta:hover {
    background: var(--color-accent-purple-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(94, 14, 215, 0.3);
}
