/* --- Agencies Page Specific Styles --- */

/* Hero Specifics (Inherits from .hero-section) */
.agences-hero {
    min-height: 50vh;
}

/* --- Agencies Section --- */
.agencies-section {
    padding: 80px 0;
    background-color: white;
}

.agencies-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.agency-card {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
    background: #fdfdfd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border-top: 4px solid var(--color-primary);
    transition: transform 0.3s ease;
}

.agency-card:hover {
    transform: translateY(-5px);
}

.agency-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.agency-header h3 {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.agency-header .subtitle {
    font-size: 0.9rem;
    color: #888;
    font-weight: 600;
}

.agency-info-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.agency-info-row .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.agency-info-row .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(61%) sepia(51%) saturate(536%) hue-rotate(45deg) brightness(96%) contrast(87%);
    /* Targets #7CB342 */
}

/* Exception: Pin icon (Keep original color) */
.agency-info-row .icon img[src*="pin"] {
    filter: none;
}

.agency-hours {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 0.9rem;
}

.agency-hours strong {
    display: block;
    margin-bottom: 10px;
    color: #333;
}

.hours-table {
    width: 100%;
}

.hours-table td {
    padding: 3px 0;
    vertical-align: top;
}

.hours-table td:first-child {
    font-weight: 600;
    width: 100px;
}

.map-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-map {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    text-align: center;
    font-size: 0.9rem;
}

.btn-map:hover {
    background: var(--color-secondary);
    color: white;
}

.btn-waze {
    border-color: #33ccff;
    color: #33ccff;
}

.btn-waze:hover {
    background: #33ccff;
    color: white;
}

/* --- Map Section --- */
.agencies-map-section {
    width: 100%;
    margin-top: 0;
    line-height: 0;
    /* Remove potential gap from inline iframe */
}

.agencies-map-section iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
    filter: grayscale(0.2);
    /* Slight aesthetic touch, optional */
}