﻿:root {
    --navy: #1e2144;
    --teal: #007f8c;
    --teal-light: #00a2b2;
    --green: #008265;
    --blue: #3b46c5;
    --ink: #15172f;
    --muted: #5f6378;
    --bg: #f6f8fb;
    --border: #d9dfec;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: var(--bg);
    font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.08rem;
    line-height: 1.7;
}

a {
    color: var(--blue);
}

    a:hover {
        color: var(--navy);
    }

    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    .btn:focus-visible,
    .nav-link:focus-visible {
        outline: 4px solid var(--focus);
        outline-offset: 3px;
        box-shadow: none;
    }

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6, .h1, .h2, .h3, .h4, .h5 {
    color: var(--navy);
    font-weight: 900;
    letter-spacing: -.03em;
    margin-bottom: 1.5rem !important;
}

.navbar-nav .nav-link,
.utility-link,
.btn {
    font-family: "Outfit", sans-serif;
    letter-spacing: -.015em;
}

.utility-bar {
    background: var(--white);
    color: var(--white);
    font-size: .95rem;
    border-bottom: none;
    overflow: hidden;
}

.utility-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-left: auto;
    padding-right: 0;
}

.utility-link:last-child {
    margin-right: -14px;
}

.utility-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .78rem 1.35rem .78rem 1.75rem;
    margin-right: -10px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    transition: transform .18s ease, filter .18s ease;
}

    .utility-link:hover,
    .utility-link:focus-visible {
        color: #fff;
        transform: translateY(-2px);
        filter: brightness(1.08);
        text-decoration: none;
    }

    .utility-link.plans-link {
        background: var(--teal);
    }

    .utility-link.business-link {
        background: var(--green);
    }

    .utility-link.contact-link {
        background: #5b2fb5;
    }

    .utility-link.fraud-link {
        background: #c94e1f;
        color: #fff;
    }

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-grid {
    display: grid;
    grid-template-columns: clamp(300px, 24vw, 360px) 1fr;
    grid-template-rows: 44px 78px;
    align-items: stretch;
}

.brand-panel {
    grid-row: 1 / span 2;
    grid-column: 1;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    padding: 1.1rem 2rem;
    min-width: 0;
    overflow: hidden;
    background: #fff;
}

    .brand-panel img {
        width: auto;
        max-width: 100%;
        max-height: 88px;
        height: auto;
        display: block;
    }

.main-nav-row {
    grid-row: 2;
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 clamp(1rem, 2vw, 1rem) 0 0;
    background: #fff;
}

.navbar {
    min-height: auto;
    padding-block: 0;
    width: 100%;
}

.navbar-nav {
    gap: .2rem;
}

    .navbar-nav .nav-link {
        color: var(--navy);
        font-weight: 600;
        font-size: 1.08rem;
        border-radius: .5rem;
        padding: .7rem 1rem;
        letter-spacing: -.01em;
    }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link:focus {
            background: #edf7f9;
            color: var(--navy);
        }

.navbar-brand {
    display: none;
    align-items: center;
    padding: 0;
    margin-right: auto;
    flex-shrink: 0;
}

    .navbar-brand img {
        width: auto;
        height: 54px;
        max-width: 180px;
        display: block;
    }

.footer .border-light-subtle {
    border-color: rgba(255,255,255,.28) !important;
}

.footer {
    background: var(--navy);
    color: var(--white);
}

    .footer a {
        color: var(--white);
    }

.footer-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.footer-link-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    transition: background .18s ease, transform .18s ease, border-color .18s ease;
    font-weight: 600;
    text-decoration: none;
}

    .footer-link-pill:hover,
    .footer-link-pill:focus-visible {
        background: rgba(255,255,255,.16);
        border-color: rgba(255,255,255,.24);
        transform: translateY(-2px);
        color: #fff;
    }

    .footer-link-pill i {
        font-size: .9rem;
        opacity: .92;
    }

.footer .footer-link {
    color: rgba(255,255,255,.92);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.28);
    transition: border-color .18s ease, color .18s ease;
    padding-bottom: .05rem;
}

    .footer .footer-link:hover,
    .footer .footer-link:focus-visible {
        color: #fff;
        border-bottom-color: rgba(255,255,255,.9);
    }

.footer-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;
    font-size: 2rem;
}

    .footer-badge.equal-housing {
        font-size: 1.8rem;
        font-weight: 700;
        letter-spacing: .02em;
    }

.small-muted {
    color: var(--muted);
}

.section-label {
    color: var(--green);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
}

.nav-pills .nav-link {
    color: var(--navy);
    font-weight: 600;
    font-size: 1.08rem;
    border-radius: .5rem;
    padding: .7rem 1.2rem;
    letter-spacing: -.01em;
}

.nav-pills .nav-link:hover {
    background-color: #edf7f9;
}

.nav-pills .active {
    background-color: var(--green) !important;
    border-radius: .5rem;
    color: var(--white) !important;
    font-weight: 700;
}

.btn {
    letter-spacing: 0;
    border-radius: .8rem;
    padding: .78rem 1.2rem;
    font-weight: 700;
}

.btn-green {
    --bs-btn-bg: var(--green);
    --bs-btn-border-color: var(--green);
    --bs-btn-hover-bg: #006b54;
    --bs-btn-hover-border-color: #006b54;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-font-weight: 800;
}

.btn-teal {
    --bs-btn-bg: var(--teal);
    --bs-btn-border-color: var(--teal);
    --bs-btn-hover-bg: #005f68;
    --bs-btn-hover-border-color: #007f8b;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-font-weight: 800;
}

.btn-outline-navy {
    --bs-btn-color: var(--navy);
    --bs-btn-border-color: var(--navy);
    --bs-btn-hover-bg: var(--navy);
    --bs-btn-hover-border-color: var(--navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-font-weight: 800;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1.2rem;
}

.card-shadow {
    box-shadow: 0 18px 45px rgba(30, 33, 68, .09);
}

.hero-eyebrow {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
    font-weight: 800;
    letter-spacing: .02em;
}

.hero {
    position: relative;
    min-height: 600px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(30, 33, 68, .93) 0%, rgba(30, 33, 68, .82) 45%, rgba(30, 33, 68, .28) 100%), url("https://www.pawthousing.org/_files/public/chalk_drawing.jpg") center / cover no-repeat;
}

    .hero::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 7px;
        background: linear-gradient(90deg, var(--teal), var(--green), var(--blue));
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 980px;
    color: var(--white);
}

.hero h2 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.025em;
    max-width: 16ch;
    color: var(--white);
}

.hero .hero-text {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    max-width: 58ch;
}

.hero-reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
    animation: heroReveal 1s ease forwards;
}

.hero-delay-1 {
    animation-delay: .15s;
}

.hero-delay-2 {
    animation-delay: .3s;
}

.hero-delay-3 {
    animation-delay: .45s;
}

.hero-delay-4 {
    animation-delay: .6s;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.quick-action-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--ink);
    overflow: hidden;
    border-top: 8px solid var(--card-accent, var(--teal-light));
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .quick-action-card.portal-resident {
        --card-accent: var(--green);
    }

    .quick-action-card.portal-landlord {
        --card-accent: var(--teal-light);
    }

    .quick-action-card.portal-procurement {
        --card-accent: var(--blue);
    }

    .quick-action-card:hover,
    .quick-action-card:focus-visible {
        transform: translateY(-4px);
        /*border-color: var(--teal);*/
        box-shadow: 0 22px 56px rgba(30, 33, 68, .16);
        color: var(--ink);
    }

        .quick-action-card:hover .quick-action-link i,
        .quick-action-card:focus-visible .quick-action-link i {
            transition: ease-in-out .25s;
            padding-left: .15rem;
        }

        .icon-badge {
            width: 3.75rem;
            height: 3.75rem;
            border-radius: 1rem;
            display: inline-grid;
            place-items: center;
            color: #fff;
            font-size: 1.45rem;
            background: var(--blue);
        }

    .icon-badge.teal {
        background: var(--teal-light);
    }

    .icon-badge.green {
        background: var(--green);
    }

.about-stats-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30,33,68,.97), rgba(30,33,68,.92)), radial-gradient(circle at top right, rgba(0,127,140,.26), transparent 34%);
    color: #fff;
}

    .about-stats-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0,127,140,.24), transparent 38%), radial-gradient(circle at bottom left, rgba(0,130,101,.24), transparent 34%);
        pointer-events: none;
    }

    .about-stats-section::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 7px;
        background: linear-gradient(90deg, var(--teal), var(--green), var(--blue));
    }

    .about-stats-section .section-label,
    .about-stats-section .section-title,
    .about-stats-section .small-muted {
        color: #fff;
    }

.about-copy {
    position: relative;
    z-index: 1;
    max-width: 66ch;
}

    .about-copy p {
        color: rgba(255,255,255,.86);
        font-size: 1.1rem;
    }

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 2.5rem 3rem;
    align-items: start;
    margin-top: 1.5rem;
    padding-left: 1rem;
}

.stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding-left: 1.25rem;
    border: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    min-width: 160px;
}

    .stat-item::before {
        content: "";
        position: absolute;
        left: 0;
        top: .4rem;
        width: 4px;
        height: calc(100% - .4rem);
        border-radius: 999px;
        background: currentColor;
        opacity: .5;
    }

.stat-number {
    display: block;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.045em;
}

.stat-label {
    display: block;
    color: rgba(255,255,255,.78);
    font-size: 1rem;
    line-height: 1.45;
    max-width: 26ch;
    font-weight: 600;
}

.stat-item:nth-child(1) .stat-number {
    color: #63d2dd;
}

.stat-item:nth-child(2) .stat-number {
    color: #71d9b5;
}

.stat-item:nth-child(3) .stat-number {
    color: #a8b6ff;
}

.stat-item:nth-child(4) .stat-number {
    color: #ffc29f;
}

.div-table {
    border-top: 1px solid var(--border);
}

.div-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.div-table-heading {
    font-weight: 600;
}

.link-list {
    max-width: 720px;
}

.link-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

    .link-list-item i {
        color: #666;
        transition: transform .2s ease;
    }

    .link-list-item:hover {
        color: var(--blue);
    }

        .link-list-item:hover i {
            transform: translateX(4px);
        }

    .link-list-item:focus-visible {
        outline: 3px solid #008265;
        outline-offset: 4px;
    }

li {
    margin-bottom: .6rem;
    line-height: 1.6;
}

.map {
    width: 100%;
    border: none;
    border: 0;
    min-height: 400px;
    border-radius: 22px;
}

.staff-member {
    line-height: 1.7;
}

.accordion .accordion-body{
    color: var(--ink);
}

.content-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: 1rem !important;
    background: #fff;
    overflow: hidden;
    margin-bottom: 1rem;
}

.content-accordion .accordion-button {
    padding: 1.25rem 1.5rem;
    background: #fff;
    box-shadow: none !important;
    font-size: 1.1rem;
    font-weight: 600;
}

    .content-accordion .accordion-button:not(.collapsed) {
        background: var(--green);
        color: #fff;
    }

        .content-accordion .accordion-button:not(.collapsed)::after {
            filter: brightness(0) invert(1);
        }

    .content-accordion .accordion-button:focus {
        box-shadow: none;
    }

.property-layout {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: 2.5rem;
    align-items: start;
}

.property-image img {
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
}

.property-type {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: rgba(59,70,197, 0.1);
    color: var(--blue);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.property-content ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.property-contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.bid-widget-container {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: #fff;
}

    .bid-widget-container iframe {
        width: 100%;
        min-height: 600px;
        border: 0;
        display: block;
    }

.schedule-time {
    width: 90px;
    color: #008265;
}


.apartment-card {
    margin-bottom: 2rem;
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0 0 1px var(--border);
}

.apartment-table {
    margin-bottom: 0;
    vertical-align: middle;
    --bs-table-striped-bg: rgba(30, 33, 68, .025);
    --bs-table-striped-color: inherit;
    --bs-table-bg: var(--white);
    margin-bottom: 0;
    vertical-align: middle;
}

    .apartment-table thead th {
        padding: 1rem 1.5rem;
        color: var(--white);
        background-color: var(--navy);
        border: 0;
        font-size: .85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .apartment-table tbody td {
        padding: 1rem 1.5rem;
        border-color: var(--border);
        border-left: 0;
        border-right: 0;
    }

    .apartment-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .apartment-table a {
        color: var(--teal);
        font-weight: 600;
        text-decoration-thickness: 1px;
        text-underline-offset: .2rem;
    }

        .apartment-table a:hover {
            color: var(--green);
        }

.availability-status {
    display: inline-block;
    padding: .35rem .75rem;
    background: rgba(0, 130, 101, .08);
    border: 1px solid rgba(0, 130, 101, .15);
    border-radius: 999px;
    color: var(--green);
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 1199.98px) {
    .navbar-brand {
        display: inline-flex !important;
    }

    .header-grid {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .utility-bar {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-content: center;
        border-bottom: 1px solid var(--border);
    }

    .brand-panel {
        display: none;
        min-height: 84px;
        width: auto;
        min-width: 220px;
        border-right: 0;
        border-bottom: 0;
        justify-content: flex-start;
        padding: .75rem 1rem;
        overflow: visible;
        z-index: 2;
    }

        .brand-panel img {
            width: auto;
            max-width: 180px;
            max-height: 64px;
        }

    .main-nav-row {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-end;
        align-items: center;
        padding: .75rem 1rem;
        z-index: 1;
    }

    .utility-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        display: inline-flex !important;
    }

    .utility-bar {
        display: none;
    }

    .header-grid {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto;
    }

    .brand-panel {
        grid-column: 1;
        grid-row: 1;
        min-height: 76px;
        min-width: 185px;
        padding: .7rem 1rem;
        justify-content: flex-start;
        overflow: visible;
    }

        .brand-panel img {
            width: auto;
            max-width: 155px;
            max-height: 52px;
        }

    .main-nav-row {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
        align-items: center;
        padding: .7rem 1rem;
    }

    .hero {
        min-height: 500px;
    }

    .navbar-collapse {
        padding-block: 1rem;
    }

    .div-row {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .apartment-table,
    .apartment-table tbody,
    .apartment-table tr,
    .apartment-table td {
        display: block;
        width: 100%;
    }

        .apartment-table thead {
            display: none;
        }

        .apartment-table tbody tr {
            padding: .75rem 1.5rem;
            border-bottom: 1px solid var(--border);
        }

            .apartment-table tbody tr:last-child {
                border-bottom: 0;
            }

        .apartment-table tbody td {
            display: grid;
            grid-template-columns: 7rem 1fr;
            gap: .75rem;
            padding: .45rem 0;
            border: 0;
        }

            .apartment-table tbody td::before {
                content: attr(data-label);
                color: var(--navy);
                font-size: .8rem;
                font-weight: 700;
            }

}

@media (max-width: 991.98px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-left: 0;
    }

    .stat-label {
        max-width: 100%;
    }

    .property-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .property-image {
        order: -1;
    }
}
