/* ==========================================================================
   Metropolitan Theme — Modern Urban Real Estate
   ========================================================================== */

/* ---- Global ---- */
body {
    font-family: var(--agency-font-body);
    color: var(--agency-text);
    background-color: var(--agency-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--agency-font-heading);
    color: var(--agency-primary);
    font-weight: 700;
    letter-spacing: -0.03em;
}

a {
    color: var(--agency-secondary);
    text-decoration: none;
    transition: var(--agency-transition);
}

a:hover {
    color: var(--agency-primary);
}

/* ---- Navbar ---- */
.agency-navbar {
    background: var(--agency-primary);
    padding: 0 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.agency-navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 1.1rem 1rem !important;
    transition: var(--agency-transition);
    border-bottom: 3px solid transparent;
}

.agency-navbar .nav-link:hover,
.agency-navbar .nav-link.active {
    color: #fff !important;
    border-bottom-color: var(--agency-secondary);
}

.agency-navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: -0.02em;
}

.agency-navbar-brand span {
    color: var(--agency-secondary);
}

/* ---- Hero Section ---- */
.agency-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--agency-bg-light);
}

.agency-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.agency-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,42,74,0.85) 0%, rgba(59,130,246,0.6) 100%);
}

.agency-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 4rem 2rem;
    margin: 0 auto;
    text-align: center;
}

.agency-hero-content h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.agency-hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

/* ---- Search Bar ---- */
.agency-search-bar {
    display: flex;
    gap: 0;
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--agency-radius-lg);
    overflow: hidden;
    box-shadow: var(--agency-shadow-lg);
}

.agency-search-bar .form-select {
    border: none;
    border-radius: 0;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    border-right: 1px solid var(--agency-border);
    background-color: #fff;
    color: var(--agency-text);
}

.agency-search-bar .form-select:focus {
    box-shadow: none;
    outline: none;
}

.agency-search-bar .btn-search {
    background: var(--agency-secondary);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.9375rem;
    white-space: nowrap;
    transition: var(--agency-transition);
}

.agency-search-bar .btn-search:hover {
    background: var(--agency-primary);
}

/* ---- Section Titles ---- */
.agency-section {
    padding: 5rem 0;
}

.agency-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.agency-section-subtitle {
    text-align: center;
    color: var(--agency-text-light);
    font-size: 1.0625rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

.agency-blue-bar,
.agency-accent-line {
    width: 48px;
    height: 4px;
    background: var(--agency-secondary);
    margin: 0.75rem auto 2rem;
    border-radius: 2px;
}

/* ---- Property Cards ---- */
.agency-property-card {
    background: #fff;
    border-radius: var(--agency-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--agency-transition);
    height: 100%;
}

.agency-property-card:hover {
    box-shadow: var(--agency-shadow-lg);
    transform: translateY(-4px);
}

.agency-property-card .card-img-wrapper {
    position: relative;
    padding-top: 66%;
    overflow: hidden;
}

.agency-property-card .card-img-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.agency-property-card .card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--agency-secondary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: var(--agency-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

.agency-property-card .card-price {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--agency-primary);
    margin-bottom: 0.25rem;
}

.agency-property-card .card-location {
    color: var(--agency-text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.agency-property-card .card-location i {
    color: var(--agency-secondary);
    margin-right: 0.25rem;
}

.agency-property-card .card-features {
    display: flex;
    gap: 1.25rem;
    font-size: 0.8125rem;
    color: var(--agency-text-light);
}

.agency-property-card .card-features i {
    color: var(--agency-secondary);
    margin-right: 0.25rem;
}

.agency-property-card .card-price-conversion {
    font-size: 0.75rem;
    color: var(--agency-text-light);
    margin-bottom: 0.25rem;
}

/* Neuf mode: taller image */
.agency-property-card .card-img-tall {
    padding-top: 75%;
}

/* Neuf card: slightly different styling */
.agency-property-card.card-neuf .card-body {
    padding: 1.5rem;
}

/* ---- Statistics ---- */
.agency-stats {
    background: var(--agency-gradient-primary, var(--agency-primary));
    padding: 5rem 0;
}

.agency-stat-item {
    text-align: center;
    padding: 1.5rem;
}

.agency-stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.agency-stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

/* ---- Team Cards ---- */
.agency-team-card {
    background: #fff;
    border-radius: var(--agency-radius);
    overflow: hidden;
    text-align: center;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--agency-transition);
    height: 100%;
}

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

.agency-team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--agency-bg-light);
}

.agency-team-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--agency-primary);
}

.agency-team-card p {
    color: var(--agency-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.agency-team-card small {
    color: var(--agency-text-light);
    font-size: 0.75rem;
}

/* ---- Neighborhood Cards ---- */
.agency-neighborhood-card {
    background: var(--agency-bg-light);
    border: 1px solid var(--agency-border);
    border-radius: var(--agency-radius-sm);
    padding: 1.25rem;
    text-align: center;
    transition: var(--agency-transition);
}

.agency-neighborhood-card:hover {
    border-color: var(--agency-secondary);
    background: #fff;
    box-shadow: var(--agency-shadow);
    transform: translateY(-2px);
}

.agency-neighborhood-card h6 {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    color: var(--agency-primary);
}

.agency-neighborhood-card small {
    color: var(--agency-secondary);
    font-weight: 600;
    font-size: 0.8125rem;
}

/* ---- Section Light bg ---- */
.agency-section-light {
    background: var(--agency-bg-light);
}

/* ---- About Preview ---- */
.agency-about-preview {
    background: var(--agency-bg-light);
}

/* ---- Property Card Extras ---- */
.agency-property-card .card-badge-exclu {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #dc3545;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: var(--agency-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.agency-property-card .card-photo-count {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--agency-radius-sm);
}

.agency-property-card .btn-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--agency-text-light);
    transition: var(--agency-transition);
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.agency-property-card .btn-favorite:hover,
.agency-property-card .btn-favorite.is-favorite {
    color: #dc3545;
}

.agency-property-card .btn-favorite.is-favorite i::before {
    content: "\F415";
}

/* When exclusive badge and favorite both present */
.agency-property-card .card-badge-exclu ~ .btn-favorite,
.agency-property-card .btn-favorite:has(~ .card-badge-exclu) {
    top: auto;
    bottom: 12px;
    right: 12px;
}

/* ---- Agent Card Extras ---- */
.agency-team-card .agent-function {
    color: var(--agency-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.agency-team-card .agent-listings-count {
    color: var(--agency-text-light);
    font-size: 0.75rem;
}

.agency-team-card .agent-phone {
    color: var(--agency-text-light);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}

/* ---- About text ---- */
.agency-about-text {
    color: var(--agency-text-light);
    line-height: 1.9;
    font-size: 1.0625rem;
}

/* ---- CTA Outline Light ---- */
.btn-agency-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.btn-agency-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* ---- CTA ---- */
.agency-cta {
    background: var(--agency-gradient-cta, linear-gradient(135deg, var(--agency-primary) 0%, #2d4a8a 100%));
    color: #fff;
    text-align: center;
    padding: 5rem 0;
}

.agency-cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.agency-cta p {
    opacity: 0.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* ---- Buttons (v3 finitions) ---- */
.btn-agency-primary {
    background: var(--agency-secondary);
    color: #fff;
    border: none;
    padding: 0.85rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--agency-radius-sm);
    transition: var(--agency-transition);
    box-shadow: 0 2px 8px rgba(59,130,246,0.2);
}

.btn-agency-primary:hover {
    background: var(--agency-secondary-dark, #2563EB);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59,130,246,0.35);
}

.btn-agency-outline {
    background: transparent;
    color: var(--agency-primary);
    border: 2px solid var(--agency-primary);
    padding: 0.75rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--agency-radius-sm);
    transition: var(--agency-transition);
    display: inline-block;
}

.btn-agency-outline:hover {
    background: var(--agency-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27,42,74,0.2);
}

/* ---- Footer ---- */
.agency-footer {
    background: var(--agency-primary);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
    font-size: 0.875rem;
}

.agency-footer h6 {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
}

.agency-footer a {
    color: rgba(255,255,255,0.6);
    transition: var(--agency-transition);
}

.agency-footer a:hover {
    color: var(--agency-secondary);
}

.agency-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.8125rem;
}

/* ---- Section Alt Background ---- */
.agency-section-alt {
    background: var(--agency-bg-light);
}

/* ---- Section Subtitles ---- */
.agency-section-subtitle {
    text-align: center;
    color: var(--agency-text-light);
    font-size: 1.0625rem;
    font-weight: 400;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Hero Search (enhanced) ---- */
.agency-hero-search {
    max-width: 640px;
    margin: 0 auto;
}

.agency-hero-search .agency-search-row {
    display: flex;
    background: #fff;
    border-radius: var(--agency-radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,0.25);
}

.agency-hero-search .agency-search-field {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding: 0 1.25rem;
    border-right: 1px solid var(--agency-border);
    gap: 0.5rem;
}

.agency-hero-search .agency-search-field i {
    color: var(--agency-secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.agency-hero-search .agency-search-field select {
    border: none;
    background: transparent;
    height: 60px;
    font-size: 0.9375rem;
    color: var(--agency-text);
    width: 100%;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
    padding-right: 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.agency-hero-search .agency-search-field select:focus {
    outline: none;
    box-shadow: none;
}

.agency-hero-search .agency-search-submit {
    height: 60px;
    padding: 0 2.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
    border: none;
    border-radius: 0;
    background: var(--agency-secondary);
    color: #fff;
    cursor: pointer;
    transition: var(--agency-transition);
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
}

.agency-hero-search .agency-search-submit:hover {
    background: var(--agency-primary);
}

/* ---- Hero Subtitle ---- */
.agency-hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

/* ---- Statistics Icons ---- */
.agency-stat-icon {
    font-size: 2rem;
    color: var(--agency-secondary);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

/* ---- Team Cards V2 (enriched) ---- */
.agency-team-card-v2 {
    background: #fff;
    border-radius: var(--agency-radius);
    overflow: hidden;
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--agency-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agency-team-card-v2:hover {
    box-shadow: var(--agency-shadow-lg);
    transform: translateY(-6px);
}

.agency-team-card-v2 .agent-photo-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 4px solid var(--agency-bg-light);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.agency-team-card-v2 .agent-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.agency-team-card-v2:hover .agent-photo-wrapper img {
    transform: scale(1.08);
}

.agency-team-card-v2 .agent-info {
    flex: 1;
    margin-bottom: 1rem;
}

.agency-team-card-v2 .agent-info h5 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--agency-primary);
}

.agency-team-card-v2 .agent-function {
    display: block;
    color: var(--agency-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.agency-team-card-v2 .agent-count {
    display: block;
    color: var(--agency-text-light);
    font-size: 0.75rem;
}

.agency-team-card-v2 .agent-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.agency-team-card-v2 .agent-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--agency-bg-light);
    color: var(--agency-primary);
    font-size: 1rem;
    transition: var(--agency-transition);
}

.agency-team-card-v2 .agent-action-btn:hover {
    background: var(--agency-secondary);
    color: #fff;
}

/* ---- Project Card (Neuf) ---- */
.agency-project-card {
    background: #fff;
    border-radius: var(--agency-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--agency-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.agency-project-card:hover {
    box-shadow: var(--agency-shadow-lg);
    transform: translateY(-4px);
}

.project-card-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.project-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--agency-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.project-card-title a { color: var(--agency-primary); }
.project-card-title a:hover { color: var(--agency-secondary); }

.project-units-list {
    display: flex;
    flex-direction: column;
}

.project-unit-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.6rem;
    font-size: 0.8125rem;
    color: var(--agency-text);
    border-bottom: 1px solid var(--agency-border);
    transition: var(--agency-transition);
}

.project-unit-line:last-child { border-bottom: none; }
.project-unit-line:hover { background: var(--agency-bg-light); color: var(--agency-secondary); }
.project-unit-line i { opacity: 0; transition: opacity 0.2s; }
.project-unit-line:hover i { opacity: 1; }

.project-unit-more {
    padding: 0.4rem 0.6rem;
    font-weight: 600;
}

/* ---- Detail Page: Project Units Table ---- */
.agency-project-units-table {
    border: 1px solid var(--agency-border);
    border-radius: var(--agency-radius);
    overflow: hidden;
}

.project-unit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    color: var(--agency-text);
    border-bottom: 1px solid var(--agency-border);
    transition: var(--agency-transition);
}

.project-unit-row:last-child {
    border-bottom: none;
}

a.project-unit-row:hover {
    background: var(--agency-bg-light);
    color: var(--agency-secondary);
}

.project-unit-row .project-unit-arrow {
    opacity: 0;
    margin-left: 0.75rem;
    color: var(--agency-secondary);
    transition: opacity 0.2s;
}

a.project-unit-row:hover .project-unit-arrow {
    opacity: 1;
}

.project-unit-current {
    background: var(--agency-bg-light);
    font-weight: 500;
}

/* ---- Detail Page: Price Display (clean inline style) ---- */
.agency-price-display {
    border-bottom: 2px solid var(--agency-border);
    padding-bottom: 1rem;
}

.agency-price-display .price-main {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--agency-primary);
    line-height: 1.2;
}

.agency-price-display .price-conversions {
    color: var(--agency-text-light);
    font-size: 0.9rem;
    margin-left: 0.75rem;
    font-weight: 400;
}

/* ---- Detail Page: Agent Card (sidebar) ---- */
.agency-detail-agent-card {
    background: var(--agency-bg-light);
    border-radius: var(--agency-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.agency-detail-agent-card .agent-photo-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--agency-bg-light);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.agency-detail-agent-card .agent-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Detail Page: Features Grid ---- */
.agency-feature-item {
    background: var(--agency-bg-light);
    border-radius: var(--agency-radius-sm);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--agency-transition);
}

.agency-feature-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.agency-feature-item i {
    color: var(--agency-secondary);
    font-size: 1.25rem;
}

/* ---- About Section ---- */
.agency-about-logo {
    background: var(--agency-bg-light);
    border-radius: var(--agency-radius-lg);
    padding: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--agency-shadow);
}

.agency-about-logo img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
}

/* ---- CTA Buttons (enhanced) ---- */
.btn-agency-lg {
    padding: 1rem 3rem;
    font-size: 1rem;
}

.btn-agency-cta-primary {
    background: #fff;
    color: var(--agency-primary);
    border: 2px solid #fff;
    padding: 0.9rem 2.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--agency-radius-sm);
    transition: var(--agency-transition);
    display: inline-flex;
    align-items: center;
}

.btn-agency-cta-primary:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.btn-agency-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 0.9rem 2.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--agency-radius-sm);
    transition: var(--agency-transition);
    display: inline-flex;
    align-items: center;
}

.btn-agency-cta-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .agency-hero-search .agency-search-row {
        flex-direction: column;
        border-radius: var(--agency-radius);
    }
    .agency-hero-search .agency-search-field {
        border-right: none;
        border-bottom: 1px solid var(--agency-border);
    }
    .agency-hero-search .agency-search-submit {
        border-radius: 0 0 var(--agency-radius) var(--agency-radius);
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .agency-hero {
        min-height: 70vh;
    }
    .agency-hero-content h1 {
        font-size: 2.25rem;
    }
    .agency-search-bar {
        flex-direction: column;
        border-radius: var(--agency-radius);
    }
    .agency-search-bar .form-select {
        border-right: none;
        border-bottom: 1px solid var(--agency-border);
    }
    .agency-search-bar .btn-search {
        border-radius: 0 0 var(--agency-radius) var(--agency-radius);
    }
}

@media (max-width: 767.98px) {
    .agency-section {
        padding: 3rem 0;
    }
    .agency-hero {
        min-height: 60vh;
    }
    .agency-stat-number {
        font-size: 2rem;
    }
}
